whenever i start developing any new feature i checkout to new branch and rebased that branch with develop branch. in my case develop is the base branch. if the develop branch is updated while i am working on feature branch i simply checkout to develop branch and take the pull of that branch and then checkout to my feature branch and rebased it with develop branch again.
i want to know what would happen if i do git merge instead of git rebase in this process.
git workflow:
git checkout develop
git pull origin develop
git checkout -b CM-255/feature
git rebase develop #what will happen if i use git merge here instead of git rebase
git commit -m "example"
git push origin CM-255/feature
create pull request for CM-255/feature
pull request merged into master branch