git push

create a new repositroy on the github, we will get the url, then
use these commands to push them onto the github


create a new repository with command line

 

touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/MichaelRoshen/twitter-boostrap-store.git
git push -u origin master

 

 

push an exsisting repository from the command line

 

git remote add origin https://github.com/MichaelRoshen/twitter-boostrap-store.git
git push -u origin master
 

 

你可能感兴趣的:(push,git push)