Re: [RFC] Submodules in GIT
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Dec 3, 2006, 12:31 UTC
- Message-ID
- <200612031331.45410.jnareb@gmail.com>
- In-Reply-To
- <200612031322.54748.robin.rosenberg.lists@dewire.com>
Robin Rosenberg wrote:
Show 8 quoted lines
> söndag 03 december 2006 02:31 skrev Jakub Narebski: > >> Actually, rm -rf * is not needed for "git reset --hard" or >> "git checkout -f" to succeed. > > True, but git reset --hard isn't always enough and rm -rf * is the good ol' > way of resetting things. Typically this comes from make being upset (or too > content) with something.
$ git clean -d -x -q $ git reset --hard
(or vice versa) then.
Besides, "rm -rf *" should not remove hidden files and hidden directories, including .git directory. And you should take great care with "rm -rf .*" if it doesn't follow '..'
-- Jakub Narebski