2

I'm using emacs on Windows and this is long bothered me. All other apps correctly ignore all listed in global .gitignore, but in emacs they are untracked/unregistered and pollute the status window.

  • 1
    I just tested both vc-dir and magit. I had an unregistered file which was shown as such in both interfaces, then I added it to ~/.config/git/ignore, and both vc-dir and magit saw it as "ignored". IOW : I can't reproduce on emacs (from git master branch) and the latest magit release (I'm on GNU/Linux). – YoungFrog Jul 21 '15 at 7:56
2

It turned out Emacs's HOME and Git's were different. I've added the HOME environment variable and moved my .emacs there. All works fine now. Thanks @YoungFrog, you made me think about my HOME.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.