I am working on the following repo with another developer.
https://github.com/practicia1234/Practicia
my branch is devSam and his branch is devSubu. Whenever he makes a new commit and pushes his code, i would like to go to his branch, pull a local version on my computer, and work on that and then push the code to my branch.
Here are the git commands i follow:
- -git checkout devSubu
- git pull
- git checkout devSam
- git merge devSubu
- (//work on devSam)
- git push devSam
when i am on the step "git merge devSubu" above, i get the following message and the code has not merged at all
Already up-to-date.
However, i know that my branch is not merged with devSubu and my code looks like it would on my branch, not on devSubu branch.
What am i doing wrong?
Thanks!