/ Published in: Python
URL: http://stackoverflow.com/questions/1628563/git-move-recent-commit-to-a-new-branch
Reset a branch. Notably used for moving a commit from one branch to another, or fix a commit on 'no branch'
Expand |
Embed | Plain Text
git branch newbranch git reset --hard 2d42c47... git checkout newbranch
You need to login to post a comment.
