GitHub - error: failed to push some refs to 'git@github.com:myrepo.git'

前端 未结 10 2029
滥情空心
滥情空心 2020-12-23 14:21

I am getting the following error. How do I resolve?: git add . git commit -m \'t\' git push origin development

To git@github.com:myrepo.git
 ! [         


        
10条回答
  •  囚心锁ツ
    2020-12-23 14:52

    Try this:

    1. git push -u origin master
    2. git push -f origin master

    Sometimes #1 works and sometimes #2 for me. I am not sure why it reacts in this way

提交回复
热议问题