Create a new branch from the wizard, and then return the wizard back to a specific commit

I would like to make a branch from the master, and then return the master back to a specific point. How can this be achieved with git?

+6
source share
1 answer

git checkout master
git branch newBranch
git reset shaToResetMasterTo

+10
source

Source: https://habr.com/ru/post/893525/


All Articles