Is there a TortoiseGit equivalent to TortoiseSVN's开发者_运维技巧 "global ignore patterns" setting?
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).
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.
精彩评论