Git push error '[remote rejected] master -> master (branch is currently checked out)'

前端 未结 30 2207
半阙折子戏
半阙折子戏 2020-11-22 00:07

Yesterday, I posted a question on how to clone a Git repository from one of my machines to another, How can I \'git clone\' from another machine?.

I am now

30条回答
  •  既然无缘
    2020-11-22 00:43

    In fact, set the remote to a non-checked out branch is sufficient. After you checked out your remote in a different branch, you can push.

提交回复
热议问题