Skip to content

Instantly share code, notes, and snippets.

@alexproca
Last active March 19, 2018 10:40
Show Gist options
  • Save alexproca/78594fa04f8c13d60851cd0b7756a72e to your computer and use it in GitHub Desktop.
Save alexproca/78594fa04f8c13d60851cd0b7756a72e to your computer and use it in GitHub Desktop.
#initialize non-bare repo
git init; git config --local receive.denyCurrentBranch updateInstead
# add initial file
touch .non-bare
git add .
git commit -m 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment