[Buildroot] [GIT PULL] avr32 updates

Markus Heidelberg markus.heidelberg at web.de
Sat May 9 09:18:16 UTC 2009

Thiago A. Corrêa, 08.05.2009:
> I somehow managed
> to completely trash my local tree and had to clone it again from the
> remote.

You shouldn't ever need to do a complete clone again, unless you did
something really strange. If you messed you local branches, then you can
recreate them from the remote branches or from the reflog which also
contains local changes. If you removed remote branches, you can simply
do "git fetch".

> I really miss svn revert... If I remove some file from the
> local tree, I can't bring it back with git fetch, git checkout or git
> reset.

Yes, you can, with checkout/reset. But it's be a bit different compared
to svn because of git's index. "git status" gives you hints what to do.
To prevent confusion: if you want to revert a particular file, that is
currently in the index, you need to invoke 2 commands: reset && checkout


More information about the buildroot mailing list