报错

git无法提交,提示
! [remote rejected] master -> master (branch is currently checked out)

原因

初始化没有用git--bare init

补救

在服务器上运行git config receive.denyCurrentBranch ignore

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-31
  • 2021-11-11
  • 2021-08-31
猜你喜欢
  • 2021-07-01
  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
  • 2022-01-15
  • 2022-02-04
  • 2022-12-23
相关资源
相似解决方案