Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Git command line merge request
- # Step 1. Fetch and check out the branch for this merge request
- git fetch origin
- git checkout -b "bug-fix" "origin/bug-fix"
- # Step 2. Review the changes locally
- # Step 3. Merge the branch and fix any conflicts that come up
- git fetch origin
- git checkout "origin/development"
- git merge --no-ff "bug-fix"
- # Step 4. Push the result of the merge to GitLab
- git push origin "development"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement