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

Unleashing my inner Disney Princess ✩₊˚.⋆☾⋆⁺₊✧ at the 2024 Disney Princesses Half Marathon

The 20-something types of Computer Science majors

The Evenstar