Skip to content

Instantly share code, notes, and snippets.

@carmelyne
Created February 5, 2009 10:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carmelyne/58646 to your computer and use it in GitHub Desktop.
Save carmelyne/58646 to your computer and use it in GitHub Desktop.
# login to remote server
ssh git@{REMOTE_SERVER}
# once logged in
mkdir example.git
# /home/git/example.git is the actual path of the above mkdir
cd example.git
# I opted out of git --bare init and just did git init
# cause I want the files as well as the differences on the git remote
git init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment