Skip to content

Instantly share code, notes, and snippets.

@ashim888
Created December 5, 2013 18:20
Show Gist options
  • Save ashim888/7810532 to your computer and use it in GitHub Desktop.
Save ashim888/7810532 to your computer and use it in GitHub Desktop.
Adding files in Github
Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/ashim888/iphoneQuiz.git
git push -u origin master
--------------------------------
Push an existing repository from the command line
git remote add origin https://github.com/ashim888/iphoneQuiz.git
git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment