When viewing the commit log, can I select a commit and checkout that commit as the head of a new branch?


In a magit-log buffer, place your cursor over the commit you want to branch from and run M-xmagit-branch-and-checkoutenter. You'll be prompted for a branch name, then for a starting point, the default starting point will be the branch under your cursor so you can just hit enter.

  • 3
    b B should run that command as well.
    – npostavs
    Jul 23 '15 at 3:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.