git的基本操作

it2022-06-24  87

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

相关资源:数据结构—成绩单生成器

最新回复(0)