Here is my situation: I have a production branch, a dev branch and branches for features. While I was working on a feature I has to do a hotfix on the dev branch. Now I to rebase the feature branch I am currently working on to avoid future merging conflicts. When I used to use IDEs from JetBrain I would do a git rebase and it would do the trick. The only command I found in VSCode is Git: Sync(rebase) but this does not do anything and does not rebase. All I get is this message:
This action will push and pull commit to and from 'origin/Current_feature'
Anyone have experience with this?
git pull --rebase
, as a companion to “Git: Sync”, which might do a plaingit pull
.git pull --rebase
rebases new commits on the branch instead of merging them.