Skip to content

Instantly share code, notes, and snippets.

@matthewlmcclure
Created June 5, 2012 18:41
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 matthewlmcclure/2876826 to your computer and use it in GitHub Desktop.
Save matthewlmcclure/2876826 to your computer and use it in GitHub Desktop.
Default push instructions should include SSH origin instead of or in addition to HTTPS origin.
Shouldn't the instructions say:
git remote add origin git@github.com:matthewlmcclure/tramp-virtualenv.git
instead of or in addition to:
git remote add origin https://github.com/matthewlmcclure/tramp-virtualenv.git
?
***
Global setup:
Set up git
git config --global user.name "Your Name"
git config --global user.email matthewlmcclure@gmail.com
Next steps:
mkdir tramp-virtualenv
cd tramp-virtualenv
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin https://github.com/matthewlmcclure/tramp-virtualenv.git
git push -u origin master
Existing Git Repo?
cd existing_git_repo
git remote add origin https://github.com/matthewlmcclure/tramp-virtualenv.git
git push -u origin master
Importing a Subversion Repo?
Check out the guide for step by step instructions.
When you're done:
Continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment