git的基本操作

1、加入缓存

git add .

2、拉到本地

git pull origin feat_4st_phase
git pull origin feat_admin_1st_phase

3、提交commit

git commit  -m  

4、推到仓库

git push origin feat_4st_phase
git push origin feat_admin_1st_phase

5、新建并切换到该分支

git checkout -b V1

V1就是新分支

6、切换分支

git fetch
git checkout feat_2st_phase
git branch
原文地址:https://www.cnblogs.com/piaobodewu/p/10100084.html