Cannot push to GitHub - keeps saying need merge

后端 未结 30 2276
天命终不由人
天命终不由人 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 01:03

    I have resolve this issue at my GIT repository. No need to rebase or force commit in this case. Use below steps to resolve this -

    local_barnch> git branch --set-upstream to=origin/ 
    
    local_barnch>git pull origin 
    
    local_barnch> git branch --set-upstream to=origin/master
    
    local_barnch>git push origin 
    

    hope it will help.

提交回复
热议问题