Skip to content

Instantly share code, notes, and snippets.

@leepowelldev
Created August 24, 2011 12:20
Show Gist options
  • Save leepowelldev/1167944 to your computer and use it in GitHub Desktop.
Save leepowelldev/1167944 to your computer and use it in GitHub Desktop.
Initialise a new Git Bare repository
ssh [email protected]
mkdir my_project.git
cd my_project.git
git --bare init
git-update-server-info # If planning to serve via HTTP
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment