On Jan 10, 2015 1:21 AM, "Anton Lundin" <[email protected]> wrote:
>
> Or, git clean -xdf is your friend.
So I do that all the time, but be *careful*.
git clean -dqfx
Will remove *all* non-tracked files in your git tree. That is often very
useful, but it's only useful if the *only* thing you have in that directory
structure is source code and the generated files.
Some people mix things up. You could have XML files with your dives etc in
your source tree. That 'git clean' will happily delete files you didn't
want to delete. Is kind of like a "rm -rf" that keeps the git files around.
So by all means use "git clean" - but be careful and keep the danger in
mind.
Linus
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface