Creating and using a new branch includes two commands:
$ git branch new_branch_name $ git checkout new_branch_name
I try to forget the last thing that can be annoying. Is there a way to do this using one command? Perhaps using an alias or something similar? I know that I could write a shell function, but for such a simple and general task this works a little.
Bazaar supports this to some extent using the bzr branch --switch .
source share