The basic operation of git
1, adding cache
1
|
git add .
|
2, pulled local
1
|
git pull origin feat_4st_phase
|
1
|
git pull origin feat_admin_1st_phase
|
3, submitted commit
1
|
git commit -m
|
4, pushed to the warehouse
1
|
git push origin feat_4st_phase
|
1
|
git push origin feat_admin_1st_phase
|
5, and switch to the new branch
1
|
git checkout -b V1
|
V1 is the new branch
6, branch switching
1
2
3
|
git fetch
git checkout feat_2st_phase
git branch
|
1, adding cache
1
|
git add .
|
2, pulled local
1
|
git pull origin feat_4st_phase
|
1
|
git pull origin feat_admin_1st_phase
|
3, submitted commit
1
|
git commit -m
|
4, pushed to the warehouse
1
|
git push origin feat_4st_phase
|
1
|
git push origin feat_admin_1st_phase
|
5, and switch to the new branch
1
|
git checkout -b V1
|
V1 is the new branch
6, branch switching
1
2
3
|
git fetch
git checkout feat_2st_phase
git branch
|