If I need to create new branch and checkout to it I use two commands:


Is it possible by one command to create AND checkout to new branch?

  • Is pressing b l too much work for you? Or are you writing a lisp function? Also, it's checkout, not chekcout. – choroba Jul 16 '18 at 12:16

From the manual:

b c
This command creates a new branch like magit-branch, but then also checks it out.

| improve this answer | |

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.