Difference between revisions of "Git/gitignore"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Git
Jump to navigation Jump to search
(Created page with "'''gitignore''' can actually refer to any of several files: * <code>$HOME/.config/git/ignore</code> - applies to all Git projects for this user * <code>$GIT_DIR/info/exclude</...")
 
(No difference)

Latest revision as of 21:05, 9 March 2015

gitignore can actually refer to any of several files:

  • $HOME/.config/git/ignore - applies to all Git projects for this user
  • $GIT_DIR/info/exclude - not sure what this does
  • .gitignore - the file ".gitignore" in the local project folder
  • any file specified by core.excludesfile in the user’s ~/.gitconfig

Each of these has uses specific to them; see the manpage for more information.

Link

Reference