views:

28

answers:

2

Is there a TortoiseGit equivalent to TortoiseSVN's "global ignore patterns" setting?

+2  A: 

As mentioned in this SO question, git has 3 levels of ignore files.

If you reference one in your ~/.gitconfig, you can manage your global ignore pattern (even though this is not directly integrated in TortoiseGit).

VonC
A: 

global ignore patterns are stored in

  • ~/.gitconfig

where ~ is the users home directory.

Some alias examples (which are stored in mentioned files due to the --global option):

  • git config --global alias.co checkout
  • git config --global alias.br branch
  • git config --global alias.ci commit
  • git config --global alias.st status

See git config for details.

udo