Skip to content

Instantly share code, notes, and snippets.

@tknv
Created August 10, 2010 11:15
Show Gist options
  • Save tknv/517100 to your computer and use it in GitHub Desktop.
Save tknv/517100 to your computer and use it in GitHub Desktop.
cd your-repo
git init
git remote add origin git@YOUR_SERVER_HOSTNAME:your-repo.git
# do some work, git add and commit files
# should commit some,otherwise repo refs not def error
git push origin master:refs/heads/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment