.gitignore polution

Previous thread: pre-built man pages have ".ft" noise by =?iso-8859-1?Q?Bj=F6rn?= Steinbrink on Saturday, November 14, 2009 - 4:47 pm. (3 messages)

Next thread: Preserving empty directories when doing a git-svn clone/rebase by Steven J. Murdoch on Saturday, November 14, 2009 - 7:06 pm. (7 messages)
From: Sverre Rabbelier
Date: Saturday, November 14, 2009 - 4:57 pm

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
--

From: Jeff King
Date: Sunday, November 15, 2009 - 2:43 am

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
--

From: Sverre Rabbelier
Date: Sunday, November 15, 2009 - 5:22 pm

Heya,


Ah, that would work, thanks! :)

-- 
Cheers,

Sverre Rabbelier
--

Previous thread: pre-built man pages have ".ft" noise by =?iso-8859-1?Q?Bj=F6rn?= Steinbrink on Saturday, November 14, 2009 - 4:47 pm. (3 messages)

Next thread: Preserving empty directories when doing a git-svn clone/rebase by Steven J. Murdoch on Saturday, November 14, 2009 - 7:06 pm. (7 messages)