fatal: cannot use ~/.gitignore_global as an exclude file
See original GitHub issueDescription
After a recent update, when I look at my repository, I get a popup that says fatal: cannot use ~/.gitignore_global as an exclude file
(except with the full path). Sometimes it pops up twice. After I dismiss it, The application does not show pending changes in the “changes” view.
Version
GitHub Desktop version: 1.0.11
OS version: Microsoft Windows [Version 6.1.7601]
Steps to Reproduce
This happened automatically as soon as I switched to the Github Desktop application.
Expected behavior: I expected it to respect the setting in my .gitignore_global file
Actual behavior: I got a popup saying it couldn’t use that file.
Reproduces how often: 100%
Logs
Additional Information
This was working in the previous version (unknown what that number was, sorry.) It did ignore the things I had listed to ignore in ~/.gitignore_global.
My .gitconfig contains this line: excludesfile = ~/.gitignore_global
My .gitconfig and .gitignore_global both have LF line endings.
My .gitconfig and .gitignore_global are both NTFS symlinks to another directory.
Command line git does not have this error when run (using the command from the logs.)
$ git status --untracked-files=all --branch --porcelain=2 -z
# branch.oid 86bf7aa1aa287a76555746d7e0d72e14f08ac981# branch.head master
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (6 by maintainers)
Top GitHub Comments
i just used this
git config --global core.excludesfile ~/.gitignore
and after that this error occursfatal: cannot use /Users/indianic/ as an exclude file
please help some one what i do to get oldcore.excludesfile
fileThank you in advance
@karnavkumar please open a new issue with details about your setup