What are the consequences of using receive.denyCurrentBranch in Git?

后端 未结 6 1207
借酒劲吻你
借酒劲吻你 2020-11-29 20:54

I have a Git repository. I have cloned the repository and can commit my local changes. When I push my changes to the server it works.

As soon as I create a branch, I

6条回答
  •  忘掉有多难
    2020-11-29 21:53

    I think a non bare repository can be useful when man configures the git update hook to deploy from the repository itself after the push happened. Just do not forget to reset the repository. If you miss that step files wont track the actual state...

提交回复
热议问题