Skip to content

Instantly share code, notes, and snippets.

@ronanguilloux
Created January 10, 2012 16:15
Show Gist options
  • Select an option

  • Save ronanguilloux/1589807 to your computer and use it in GitHub Desktop.

Select an option

Save ronanguilloux/1589807 to your computer and use it in GitHub Desktop.
Create a bare, no working, repository-only GIT directory
ssh myGitServer
cd ~/repositories
mkdir myproject.git
cd myproject.git/
git init —bare
git update-server-info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment