Broken branch in git, fatal: your current branch appears to be broken

前端 未结 9 1315
时光说笑
时光说笑 2021-02-01 12:57

Here is my case:

  • I was working on one branch.
  • Pushed new commits to the remote.
  • Switched back to the master branch.

But suddenly

9条回答
  •  南笙
    南笙 (楼主)
    2021-02-01 13:49

    Some time it may also occur due to file permission problems, check if you have appropriate permissions on all the files under the repository.

提交回复
热议问题