Closed megoth closed 5 years ago
This is how I have that set up on OS X. In ~/.gitconfig you can add a section such as:
~/.gitconfig
[core] excludesfile = /path/to/global/gitignore/file
and in that file, you can add the .idea line.
.idea
Alternatively, you can do this on a per-repository basis by editing the file .git/info/exclude, adding .idea there.
.git/info/exclude
Fair enough, I can add these configurations globally for myself. I'll close this PR unless anyone else think it prudent to have a per-repository configuration for this.
This is how I have that set up on OS X. In
~/.gitconfig
you can add a section such as:and in that file, you can add the
.idea
line.Alternatively, you can do this on a per-repository basis by editing the file
.git/info/exclude
, adding.idea
there.