Chris Ledet
Chris Ledet

Reputation: 11628

Make a new branch from master then revert master back to certain commit

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

Answers (1)

Andy
Andy

Reputation: 46404

git checkout master
git branch newBranch
git reset shaToResetMasterTo

Upvotes: 11

Related Questions