We have a situation since we are using remote branches with Git. Let me explain briefly:
- Developer John created a remote branch "post_video"
I checked out this remote branch to work on it too
git checkout feature/post_video
I committed my changes (locally) and pulled out the changes on this remote branch from remote server:
... few changes ... git add myfile.html otherfile.js etc. git commit (+ message) git pull
Here came the first problem: when I pulled this remote branch, I had many conflicts but for files I never changed!
Second problem: after fixing these conflicts, I wanted to merge this remote branch into the master branch:
git checkout master git pull => just to update master before merge git checkout feature/post_video git rebase master => HERE CAME THE SECOND PROBLEM
From this rebase, I had sooooo many conflicts: for every single commit pushed in remote branch feature/post_video, I have to resolve a "conflict".
Can anyone tell me what I'm doing wrong in this workflow?
Thanks,