Practice this fail.
A branch of your own.
Git · Restart as often as you like
Read the error, choose a command, and learn
why it works. Nothing runs on your machine.
The working tree is clean. The local branch feature/search does not exist. Create it from the current commit and switch to it.
A branch of your own.
$ git branch --show-current
main
Which command creates and enters feature/search?
Fixed. By hand.
git switch -c feature/searchgit switch -c creates a new branch at the current commit and checks it out. Plain git branch feature/search would create the branch without switching to it.
Practice does not affect your daily score or streak.