Cannot push to GitHub - keeps saying need merge

后端 未结 30 2312
天命终不由人
天命终不由人 2020-11-22 00:09

I\'m new to GitHub. Today I met some issue when I was trying to push my code to GitHub.

Pushing to git@github.com:519ebayproject/519ebayproject.git
To git@gi         


        
30条回答
  •  一生所求
    2020-11-22 00:49

    git push -f origin branchname

    Use the above command only if you are sure that you don't need remote branch code otherwise do merge first and then push the code

提交回复
热议问题