$ touch .gitignore
$ vim .gitignore
$ git init
$ git status
$ git add .
$ git commit -am 'first commit init project'
$ git remote add neworigin https://github.com/ThomasLeedev/tommall.git
$ git push -u neworigin master
$ git branch -r
neworigin/master
$ git checkout -b v1.0 neworigin/master
Switched to a new branch 'v1.0'
Branch 'v1.0' set up to track remote branch 'master' from 'neworigin'.
$ git push neworigin HEAD -u
$ git branch
master
* v1.0
thomasleedev / tommall Goto Github PK
View Code? Open in Web Editor NEW电商网站后台开发
Home Page: https://gitee.com/imooccode/happymmallwiki/wikis/Home?sort_id=9909