Sublime Forum

Bug: Sublime Merge ignores includes in .gitconfig (user details missing)

#1

My global ~/.gitconfig is seperated into several files. I include them like this:

[include]
   path = ./.gitconfig-userdetails

This works for git quite well as git config --get user.email and git config --get user.name return the correct values. Sublime Merge does not recognize these values though (always says ‘click here to set user details’).

In fact, even if i add the info via the Sublime Merge ‘click here to set user details’-window, there is another, directly added [user] entry at the end of my global ~/.gitconfig file - which is ignored as well. I am not able to commit anything like that. It works when i remove the include and add the [user] entry directly in the global ~/.gitconfig.

I am experiencing this behaviour in Win10.

0 Likes

#2
0 Likes

#3

Yes, that would probably solve the issue for me as well!

A quick workaround for these particular issues would be to use the git config --get user.email and git config --get user.name commands to figure out user the name and email until the feature is implemented.

0 Likes