开发者

TortoiseGit's equivalent to TortoiseSVN's global ignore patterns

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜