Hi I am learning to use GIT and have a problem and I'm not sure how to solve it.
I have my feature and development branch behind the master and want them to be on the same level as the master branch. Which command can I use to do that? git rebase wouldn't solve my problem, right?
Thank you for your help.
Solved! Solved! Go to Solution.
You can do with the git reset command. Checkout to the branch you want to put at the same level of master, for example "development":
git checkout development
Than reset with hard mode:
git reset --hard master
Hope this helps 🙂
Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!