git pull displays “fatal: Couldn't find remote ref refs/heads/xxxx” and hangs up

前端 未结 9 898
醉话见心
醉话见心 2021-01-31 06:58

I created a branch called \'6796\', then I pushed it to remote, checked it out on another machine, made other edits, pushed it, then merged it with the master, and deleted it -

9条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-31 07:22

    I just ran into a similar issue when I tried to commit to a newly created repo with a "." in it's name. I've seen several others have different issues with putting a "." in the repo name.

    I just re-created the repo and

    replaced "." with "-"
    

    There may be other ways to resolve this, but this was a quick fix for me since it was a new repo.

提交回复
热议问题