changes not reflecting at git server

前端 未结 1 775
甜味超标
甜味超标 2020-12-20 06:59

I have installed Git and configured it as server in CentOS and Windows as client machine.

And then I made one repo and tried to push changes but failed with error <

1条回答
  •  自闭症患者
    2020-12-20 07:39

    Make sure that:

    • your server has git 2.3+
    • you have set on that server:

       git config --global receive.denyCurrentBranch updateInstead
      

    (See "Push to a non-bare Git repository")

    Make sure first that your repo on the server is not a bare repo.

    0 讨论(0)
提交回复
热议问题