Git/gitignore

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Git
Revision as of 21:05, 9 March 2015 by Woozle (talk | contribs) (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</...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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