Last active
October 1, 2015 00:53
-
-
Save jpalala/d9a706f17c71d4bb0de5 to your computer and use it in GitHub Desktop.
Setting up a local repo on your server
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
# see blog post: http://blog.jpalala.com/content/my-git-workflow-solo-development | |
cd ~ | |
mkdir -p gitrepos/projectname.git | |
cd gitrepos/projectname.git | |
git init --bare --shared=group | |
#Initialized empty shared Git repository in repositories/project.git/ | |
ls | |
# branches config description HEAD hooks info objects refs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment