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.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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