mkdir uni-shop

cd uni-shop

git init

touch README.md

git add README.md

git commit -m "first commit"

git remote add origin git@gitee.com:hanigo/uni-shop.git

git push -u origin "master"


git status 分支状态

git branch -d dev 删除本地分支

git checkout -b dev 新建本地分支

git add .  暂存

giit commit -m “开发完成”   提交

git push -u origin master  推送

git checkout master  切换分支

git merge dev 合并