-1

Not sure exactly what this did but now when I try to push, I get

Password for 'https://--global@github.com': 

previous to the problem of the url now having --global in it which is incorrect I had run this command:

git config --global credential.helper store
git config credential.username "dsmith"
git config credential.user --global "dsmith"
git config credential.email --global "dsmith@gmail.com"

so that must have screwed things up. I want to fix this, not sure how. I have no idea how this messed up the github url and put --global in it, I thought the above were legit commands.

I at least set it back to using the oskeychain as the helper

git config --global credential.helper osxkeychain
PositiveGuy
  • 17,621
  • 26
  • 79
  • 138

1 Answers1

-1

Consider this one-line code:

git config --global credential.username "dsmith"
PositiveGuy
  • 17,621
  • 26
  • 79
  • 138