Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] .gitignore
Date: Thu, 13 Aug 2015 02:52:37
Message-Id: 20150813025228.GC8277@vapier
In Reply to: Re: [gentoo-dev] .gitignore by Brian Dolbec
1 On 12 Aug 2015 18:27, Brian Dolbec wrote:
2 > 2) There is another alternate location that you can define files to
3 > ignore locally without having to commit them to .gitignore.
4 > Consider .gitignore a global setting. There is another setting
5 > inside .git/info/exclude which is a local config file that will persist
6 > and not be affected by pulls.
7 >
8 > So please use that for local exclusions you want to add and not try to
9 > force them into a global .gitignore which is part of the repo.
10 > Something that seems to be hotly debated. ;)
11
12 as i stated, there's no reason for these paths to ever be committed.
13 conversely, some people (not unreasonably so) will place files in there
14 that have historically had known meanings. adding these to the global
15 gitignore is simply the right thing to do and negatively impacts no one.
16 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] .gitignore wireless <wireless@×××××××××××.com>