I’m seeing the issue in the git config -l
output.
We need the output to look like this:
credential.helper=
credential.helper=netlify
credential.helper=osxkeychain
It can also look like this (if these are the only two lines for “credential.helper
” in the file):
credential.helper=netlify
credential.helper=osxkeychain
The “empty value” line below is important (or it can be skpped):
credential.helper=
Let’s take a look at the contents of ~/.netlify/helper/git-config
for an explanation:
$ cat ~/.netlify/helper/git-config
# The first line resets the list of helpers so we can check Netlify's first.
[credential]
helper = ""
[credential]
helper = netlify
helper = osxkeychain
Setting the credential helper to empty string is resetting the list. Then the order after that must be “netlify” then “osxkeychain”.
Let’s take a look at your system’s git config -l
output filtered for just the “helper” lines (but otherwise left in order):
$ grep helper git-config-output.txt
credential.helper=osxkeychain
include.path=/Users/ericmikkelsen/.netlify/helper/git-config
credential.helper=
credential.helper=netlify
credential.helper=osxkeychain
include.path=/Users/ericmikkelsen/.netlify/helper/git-config
credential.helper=
credential.helper=netlify
include.path=/Users/ericmikkelsen/.netlify/helper/git-config
credential.helper=
credential.helper=netlify
credential.helper=netlify
So, to summarize, your ordering is:
credential.helper=
credential.helper=netlify
This is because only the lines after the most recent empty string line matter. So, your credential helpers are not in order.
Would you please confirm your ~/.netlify/helper/git-config
file contains just this below?
# The first line resets the list of helpers so we can check Netlify's first.
[credential]
helper = ""
[credential]
helper = netlify
helper = osxkeychain
If so, please close your terminal window, open a new window, and then run git config -l
again. If this ordering isn’t fixed or if the git push still doesn’t work, please let us know.
Also, if it is still not working, would you please send us the exact command being run and output of that command?