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

 

posted @ 2018-12-11 00:16  dellyoung  阅读(209)  评论(0编辑  收藏  举报