Skip to content

Instantly share code, notes, and snippets.

@Rakonda
Created December 19, 2023 09:05
Show Gist options
  • Save Rakonda/c6d85aaa3ce18e7d18bc6dd0277a6fd7 to your computer and use it in GitHub Desktop.
Save Rakonda/c6d85aaa3ce18e7d18bc6dd0277a6fd7 to your computer and use it in GitHub Desktop.
Fix git merge request shows changes from another merge request
Go to your master branch and do a "git pull"
Switch back to your branch you are merging and do "git rebase origin/master -i"
Solve any conflicts that arise and fix any commits as needed in VIM and exist ":wq"
After the rebase is completed do a "git push origin [your branch name] --force"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment