Skip to content

Instantly share code, notes, and snippets.

@ninetwentyfour
Created August 28, 2011 16:20
Show Gist options
  • Save ninetwentyfour/1176861 to your computer and use it in GitHub Desktop.
Save ninetwentyfour/1176861 to your computer and use it in GitHub Desktop.
git dreamhost - blogpost
mkdir gittest
cd gittest
git --bare init
git repo-config remote.origin.url http://yoursite.com/git/gittest/git update-server-info
git init
git add .
git commit -m "yourmessagegoeshere"
git repo-config remote.origin.url http://[email protected]/git/gittest/
git push origin master
mkdir newfolder
cd newfolder
git clone http://[email protected]/git/gittest/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment