DEV Community

Discussion on: What is your favourite Git command?

benneee_ profile image
Benedict Nkeonye

git checkout-b <name-of-new-sub-branch>

Basically, my most used git command. It creates a new branch off the current branch, it's amazing for new features and hot fixes or just random tests.

Closely followed by git status

Can't be too careful...