简体   繁体   中英

How do I add a global gitignore to SmartGit/hg?

我创建了一个全局.gitignore文件(请参阅https://help.github.com/articles/ignoring-files#global-gitignore )但是如何在不将其添加到存储库的情况下将其用于SmartGit中的所有项目?

If you configure

git config --global core.excludesfile '~/.gitignore'

This also takes effect on Smartgit

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM