Skip to content

Getting Branches to same level as master #22662

Answered by Wabri
frius94 asked this question in New to GitHub
Discussion options

You must be logged in to vote

Hi @frius94,

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

That’s all.

Hope this helps 🙂  

-Gabriele-

Mark helpful posts with Accept as Solution to help other users locate important info. Don’t forget to give Kudos for great content!

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants