Home Tags About

Git: Push to a remote non-bare repository

22 Aug 2012
git

By default, updating the current branch in a non-bare repository is denied.

You can add the following config in .git/config for the remote repository to enable it:

[receive]
    denyCurrentBranch = ignore