Skip to content

Instantly share code, notes, and snippets.

@aspgems
Created December 15, 2009 12:23
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 aspgems/256902 to your computer and use it in GitHub Desktop.
Save aspgems/256902 to your computer and use it in GitHub Desktop.
create a new repository
Global setup:
Download and install Git
git config --global user.name "aspgems"
git config --global user.email info@aspgems.com
Add your public key
Next steps:
mkdir tog_archive
cd tog_archive
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:aspgems/tog_archive.git
git push origin master
Existing Git Repo?
cd existing_git_repo
git remote add origin git@github.com:aspgems/tog_archive.git
git push origin master
Importing a Subversion Repo?
Click here
When you're done:
Continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment