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

Popular posts from this blog

6 hours and only 6 Lagoon rides?

Reflecting on major life goals yet again

Hobble Creek Half: The slow passage of time marches us towards our inevitable death