Featured image of post GIT: notatki

GIT: notatki

Notatki dotyczące git-a

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.

1
2
3
4
5
6
# 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
comments powered by Disqus
Zbudowano z Hugo
Motyw Stack zaprojektowany przez Jimmy