Git在本地签出review和合并操作

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b master origin/master

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout origin/feature-v14-20190222
git merge --no-ff master

Step 4. Push the result of the merge to GitLab

git push origin feature-v14-20190222
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页