Skip to content

Instantly share code, notes, and snippets.

@Rad1calDreamer
Created February 9, 2016 08:56
Show Gist options
  • Save Rad1calDreamer/6d81e010194c57f8e968 to your computer and use it in GitHub Desktop.
Save Rad1calDreamer/6d81e010194c57f8e968 to your computer and use it in GitHub Desktop.
Git resolve conflicts
Check out, review, and merge locally
Step 1. Fetch and check out the branch for this merge request
git fetch origin
git checkout -b dev/bugfix/tags_ellipsis origin/dev/bugfix/tags_ellipsis
Step 2. Review the changes locally
Step 3. Merge the branch and fix any conflicts that come up
git checkout development
git merge --no-ff dev/bugfix/tags_ellipsis
Step 4. Push the result of the merge to GitLab
git push origin development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment