Suppose I have following branches
After I did some changes on dev-harry branch, I wanted to merge dev-harry into rc branch.
1, git checkout rc
2, git merge dev-harry
I usually add
git merge to force git to add a commit for the merge operation.
Yeah, it is more reasonable ;-)