I'm a bit new to GitHub. Sorry in advance if this is a noob question.
I have 2 branches, Dev
and Master
. I worked on Dev
. When I wanted to merge with Master
, I did the following:
$ git checkout master
$ git pull origin master
$ git merge dev
then i had a few conflicts. I fixed the conflicts using Sourcetree.
Then when I committed the new changes, using:
$ git commit -m "Dev merged in Master"
the files that were not conflicted were showing in Master
branch but the files that had conflict weren't showing any changes.
They were on Dev
but not on Master
.
What did I do wrong?