Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Git config for servers
https://stackoverflow.com/questions/12265729/what-are-the-consequences-of-using-receive-denycurrentbranch-in-git
steps:
on remote -
git init
git config receive.denyCurrentBranch updateInstead
This will overwrite anything currently in the directory with a push from local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment