Branch from a previous commit on master as though the branch was made before commits were made

0

  • remove the commits from master as though you had made the branch before those commits were made
git checkout master
git branch branch-name
git reset --hard <sha1>

  • 0 posts
  • 0 subtopics
  • about 1 month ago by vince