* .gitignore polution
@ 2009-11-14 23:57 Sverre Rabbelier
2009-11-15 9:43 ` Jeff King
0 siblings, 1 reply; 3+ messages in thread
From: Sverre Rabbelier @ 2009-11-14 23:57 UTC (permalink / raw)
To: Git List
Heya,
I usually compile git from next (sometimes pu to test out a new
feature), and when I then switch back to a development branch (usually
based off master) I get something like this:
$ git status
# On branch remote-helpers
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# git-http-backend
# git-notes
# git-remote-hg
# test-index-version
Now I can easily do 'git clean -f', but it's somewhat annoying. How do
other developers deal with this?
--
Cheers,
Sverre Rabbelier
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: .gitignore polution
2009-11-14 23:57 .gitignore polution Sverre Rabbelier
@ 2009-11-15 9:43 ` Jeff King
2009-11-16 0:22 ` Sverre Rabbelier
0 siblings, 1 reply; 3+ messages in thread
From: Jeff King @ 2009-11-15 9:43 UTC (permalink / raw)
To: Sverre Rabbelier; +Cc: Git List
On Sun, Nov 15, 2009 at 12:57:31AM +0100, Sverre Rabbelier wrote:
> I usually compile git from next (sometimes pu to test out a new
> feature), and when I then switch back to a development branch (usually
> based off master) I get something like this:
>
> $ git status
> # On branch remote-helpers
> # Untracked files:
> # (use "git add <file>..." to include in what will be committed)
> #
> # git-http-backend
> # git-notes
> # git-remote-hg
> # test-index-version
>
> Now I can easily do 'git clean -f', but it's somewhat annoying. How do
> other developers deal with this?
I use "git clean". :)
The other option is to mark them for ignore outside of the
branch-specific ignore:
git ls-files -o --exclude-standard >>.git/info/exclude
-Peff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: .gitignore polution
2009-11-15 9:43 ` Jeff King
@ 2009-11-16 0:22 ` Sverre Rabbelier
0 siblings, 0 replies; 3+ messages in thread
From: Sverre Rabbelier @ 2009-11-16 0:22 UTC (permalink / raw)
To: Jeff King; +Cc: Git List
Heya,
On Sun, Nov 15, 2009 at 10:43, Jeff King <peff@peff.net> wrote:
> The other option is to mark them for ignore outside of the
> branch-specific ignore:
>
> git ls-files -o --exclude-standard >>.git/info/exclude
Ah, that would work, thanks! :)
--
Cheers,
Sverre Rabbelier
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-11-16 0:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-14 23:57 .gitignore polution Sverre Rabbelier
2009-11-15 9:43 ` Jeff King
2009-11-16 0:22 ` Sverre Rabbelier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).