paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] How to return my source code to the original?


From: Paulo Neves
Subject: Re: [Paparazzi-devel] How to return my source code to the original?
Date: Sat, 14 Jun 2014 03:50:19 +0100

Tou can either, make 
git stash
 to keep the changes in a safe place for later inspection but reverting to the latest version from the paparazzi repository, or you can just make
git reset --hard 
to discard all your changes to the last version fro the paparazzi repository. No need to clone your repository again. I recommend you to learn about how git works and you will see that you can fail as long and as many times as you want without any problem reverting back your changes.

On Friday, June 13, 2014, Marius Pfeffer <address@hidden> wrote:

Hi

Backup your own airframes (and radio) and delete your modified paparazzi folder. After that, execute the git clone command again. Then copy your airframes back to the directory in the paparazzi/conf/airframes folder.

The git repo can not be cloned if the folder already exists and is not empty.

-Marius

Am 13.06.2014 18:27 schrieb "心如烛光" <address@hidden>:
Hi,all!
    I wanna redownload the source code from the repository again. Because I have edited the source code for some new functions but fail.And the autopilot becomes unstable after that.
    I try to redo the command: 
 But it returns:
"fatal:the destination 'paparazzi' has already exit,and it is not an empty directory".
I just want to return my source code to the original.How should I do?Could I delete the code with the "drag and drop"for the paparazzi folder to the trash bin?
Thank's a lot!!

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]