Created
January 10, 2012 16:15
-
-
Save ronanguilloux/1589807 to your computer and use it in GitHub Desktop.
Create a bare, no working, repository-only GIT directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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