Skip to content

Latest commit

 

History

History
31 lines (15 loc) · 436 Bytes

git_cmd.md

File metadata and controls

31 lines (15 loc) · 436 Bytes

< upload master >

git init

git add .

git commit -m "first commit"

git remote add origin https://github.com/studian/test.git

git push -u origin master

< upload branch >

git init

git add .

git commit -m "first commit"

git branch v0.1 # v0.1 : new branch name

git checkout v0.1

git branch # show branch list

git remote add origin https://github.com/studian/test.git

git push -u origin v0.1