Reputation: 11628
I would like to make a branch from master then revert master back to a certain point. How can this be achieved with git?
Upvotes: 9
Views: 2561
Reputation: 46404
git checkout master
git branch newBranch
git reset shaToResetMasterTo
Upvotes: 11