I have two branches in git: master
and custom_branch
.
Somebody added some code to master
that I need to use in my custom_branch
. I tried this:
git branch custom_branch
git merge master
But when I do that, it says:
Already up-to-date.
But, when I compare master
and custom_branch
, the changes are still not there. What am I missing?
P.S. I don't want to rebase
since other people also use this branch.