git rejected push non-fast-forward

前端 未结 7 502
情书的邮戳
情书的邮戳 2020-12-08 17:03

I am quite new to git, and I had been working on a small side project for the last 2 months and had been pushing stuff onto bitbucket with no problems. A couple of days ago,

7条回答
  •  臣服心动
    2020-12-08 17:07

    in my case was new file from git repository not added, and this was the solution 1. git status (just to check) 2. git add . 3. git push -u master origin

提交回复
热议问题