Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 316 Bytes

git_push_pull.md

File metadata and controls

18 lines (9 loc) · 316 Bytes

Create a new repository on the command line

git init

git add .

git commit -m "first commit"

git remote add origin https://github.com/xxx/xxx.git

git push -u origin master

Push an existing repository from the command line

git remote add origin https://github.com/xxx/xxx.git

git push -u origin master