提交 f44d9f5a 编写于 作者: P Peat Bakke 提交者: Chris Wanstrath

Adding documentation on global ignores

上级 aa2a94d1
...@@ -14,3 +14,16 @@ For more information on gitignore: [gitignore(5)][g5] ...@@ -14,3 +14,16 @@ For more information on gitignore: [gitignore(5)][g5]
[fk]: http://help.github.com/forking/ [fk]: http://help.github.com/forking/
[pr]: http://help.github.com/pull-requests/ [pr]: http://help.github.com/pull-requests/
[g5]: http://man.cx/gitignore [g5]: http://man.cx/gitignore
## Global Ignores
git has a global configuration that applies rules to all of
your projects. For example:
git config --global core.excludesfile=~/.global_ignore
... will apply the rules in ~/.global_ignore for all of your repos.
This is useful if you use an editor (like Emacs) that drops backup files,
or if you work in an environment that generates binary or intermediate
files that are always ignored.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册