3
我創建了一個全球.gitignore
文件(請參閱https://help.github.com/articles/ignoring-files#global-gitignore),但是如何將它用於SmartGit中的所有項目而無需將其添加到存儲庫?如何將全局gitignore添加到SmartGit/hg?
我創建了一個全球.gitignore
文件(請參閱https://help.github.com/articles/ignoring-files#global-gitignore),但是如何將它用於SmartGit中的所有項目而無需將其添加到存儲庫?如何將全局gitignore添加到SmartGit/hg?
如果配置
git config --global core.excludesfile '~/.gitignore'
這也發生在Smartgit
[@Dirk](http://stackoverflow.com/users/2324028/dirk):你[爲消除引號而吞噬](爲什麼?)(http://stackoverflow.com/review/suggested-edits/12391029) – rubo77
你配置全局gitignore文件(見http://stackoverflow.com/questions/7335420)的效果呢?如果它適用於命令行,它也適用於SmartGit。 – mstrap
[global git ignore]可能的重複(http://stackoverflow.com/questions/7335420/global-git-ignore) – rubo77
thx,它的工作方式就像在回答 – rubo77