Generation and location of ui_*.h files

Linus Torvalds torvalds at linux-foundation.org
Sat Jan 10 09:56:12 PST 2015


On Jan 10, 2015 1:21 AM, "Anton Lundin" <glance at acc.umu.se> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150110/91ac9c76/attachment.html>


More information about the subsurface mailing list