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

8k Views Asked by At

I created a global .gitignore file (see https://help.github.com/articles/ignoring-files#global-gitignore) but how can I make this used for all my projects in SmartGit without adding it to the repositories?

1

There are 1 best solutions below

1
On BEST ANSWER

If you configure

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

This also takes effect on Smartgit