开发者

TortoiseGit's equivalent to TortoiseSVN's global ignore patterns

开发者 https://www.devze.com 2023-01-21 06:35 出处:网络
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.

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

精彩评论

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