Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 455 Bytes

fixing-git-conflicts-without-merging.md

File metadata and controls

33 lines (23 loc) · 455 Bytes

Fixing git conflicts without merging

  1. Make sure your master branch is in the last version
git checkout master
git pull
  1. Go to the branch with conflicts
git checkout feature/my-branch
  1. Solve conflicts locally
git rebase origin/master
  1. Commit changes
git add .
git commit -m "chore(*): fix merge conflicts"
  1. Push the solved info to repository
git push -f origin HEAD:feature/my-branch