Skip to content

Instantly share code, notes, and snippets.

@jpalala
Last active October 1, 2015 00:53
Show Gist options
  • Save jpalala/d9a706f17c71d4bb0de5 to your computer and use it in GitHub Desktop.
Save jpalala/d9a706f17c71d4bb0de5 to your computer and use it in GitHub Desktop.
Setting up a local repo on your server
# 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