git pushes with wrong user from terminal

前端 未结 22 1443
夕颜
夕颜 2020-12-07 07:51

I have an issue with git and my terminal.

Here\'s a gallery to show you my issue : http://imgur.com/a/6RrEY

When I push commits from my terminal, git says I

22条回答
  •  -上瘾入骨i
    2020-12-07 08:17

    What worked for me removing the repo and adding it again:

    git remote rm origin
    git remote add origin git@github.com:fguillen/MyApp.git
    

提交回复
热议问题