I am using git for quite some time and wanted to use rebase
command. Earlier I have used only the merge
command.
I have my changes done to my feature branch which I need to merge with my master branch. I can go ahead and merge my changes to my master branch by running the git merge
command from the master branch. But can I use the rebase command to get my branch changes into my master? From the documentation, I understood that rebase will be done from the feature branches to merge the changes from the master to my feature branch. Is my understanding correct or I need to use the git merge command for my scenario.