Re: noob user, want checkins to all be forced to LF terminated lines
- From
Miles Bader <miles@gnu.org>
- Date
- Jul 31, 2010, 05:41 UTC
- Message-ID
- <87zkx8cinf.fsf@catnip.gol.com>
- In-Reply-To
- <i308gl$v6p$1@dough.gmane.org>
Walter Bright <boost@digitalmars.com> writes:
> I've just started with git. Exactly what do I put in $HOME/.gitconfig ?
+ your personal info (user.*)
+ various global personal preferences for tool operation (diff.renames, branch.autosetupmerge, apply.whitespace)
+ core.excludesfile = ~/.gitignore
... then in ~/.gitignore, put filenames to ignore that are related to your personal habits or tool preferences rather than any particular project (e.g., "*~" if you use emacs; I also put ",*" because I use that pattern for scratch files)
+ command aliases (alias.*)
-miles
-- A zen-buddhist walked into a pizza shop and said, "Make me one with everything."