GIT: notatki
git push do repozytorium non-bare
Set receive.denyCurrentBranch to ignore, warn or updateInstead (according to your needs) in the remote non-bare repository to allow pushing the current branch.
# Config receive.denyCurrentBranch to ignore in the remote repository
# The configuration is applied to only this respository.
$ git config receive.denyCurrentBranch ignore
# Config receive.denyCurrentBranch to updateInstead in the remote repository
$ git config receive.denyCurrentBranch updateInstead
Tags: