DEV Community

Discussion on: Create a New Branch in Git

Collapse
 
rozhnev profile image
Slava Rozhnev

You can combine create and switch to new branch by single command:

git checkout -b feature-x
Enter fullscreen mode Exit fullscreen mode