Using Git to manage code library

git clone download the code to the local library

1. Go caffe folder
2. Open Git
3.git Status to view the newly added file

4.git checkout (-b) synthetic_moire (New) branch
5.git add + added file
6.git commit -m 'Note'
7.git Checkout SSD
8.git pull
9.git Checkout synthetic_moire

10.git rebase ssd combined with the main branch
11.git push (-f) (mandatory) Upload
12.git pull downloaded to a local update
13. The merge request to the request gitlab

carry out

Guess you like

Origin www.cnblogs.com/mingzhouliu/p/11269705.html