Reputation: 10026
Due to a companywide account migration I do see an error while doing a git action like git checkout my/branch
: '\\old\now\nonexistent\path\to\my\home\documents\\gitignore_global.txt': Permission denied
I would like to reconfigure git, where can I do this? I don't see any local configuration pointing to this directory..
Upvotes: 0
Views: 1161
Reputation: 3174
To set the path to your global exclude file (or to set any other global option for that matter) use something like:
git config --global core.excludesfile "%USERPROFILE%\.gitignore"
(assuming you are on a Windows machine)
Also see Customizing Git - Git Configuration.
Upvotes: 2