git pushes with wrong user from terminal

前端 未结 22 1499
夕颜
夕颜 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条回答
  •  星月不相逢
    2020-12-07 08:01

    I solved this problem removing (or renaming to *.bak) the id_rsa and id_rsa.pub file on MacOS High Sierra. Idea from here.

    I have custom host redirects in ~/.ssh/config that should be applied but used wrong user before I renamed the two files...

提交回复
热议问题