How I resolve merge conflicts in gitlab
I usually follow these steps:
1. Click “Resolve Conflicts”
2. Use Gitlab’s online editor to fix them
3. Do a git pull
4. Go into my IDE and make a minor change (deleting an erroneous space, for example)
5. Do git add ., git commit -m “fixing merge conflict”, git push
6. This should resolve it
If I find a cleaner way to do this, I’ll update it here. But this is what works right now.
Comments
Post a Comment