No refs in common and none specified; doing nothing

后端 未结 4 1238
别跟我提以往
别跟我提以往 2021-01-30 15:47

I had a local git project that I wanted to add to gitolite. Apparently this is hard so I abandoned the idea. I created a new gitolite repo by adding it to gitolite-admin/conf/gi

4条回答
  •  温柔的废话
    2021-01-30 16:34

    Your local and remote repositories do not share the same history, since you recreated the repo. Therefore, Git won't let you push this content.

    If you are not afraid of losing the content that is on the remote repository, you can force push : git push -f.

提交回复
热议问题