Cannot push to GitHub - keeps saying need merge

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

    I had the same problem , what I did was I first pushed it by force by using this

    git push --force
    

    I did this after I commited the files and was getting an error as you got.It did commit all the files and it pushed them. Then the next time I was pushing to the github .I did what it asked me to and it was alright then. Hope this works for you too :)

提交回复
热议问题