Cannot push to GitHub - keeps saying need merge

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

    Sometimes we forgot the pulling and did lots of works in the local environment.

    If someone want to push without pull,

    git push --force
    

    is working. This is not recommended when working with other people, but when your work is a simple thing or a personal toy project, it will be a quick solution.

提交回复
热议问题