Practice this fail.
A branch needs directions.
Git · Restart as often as you like
Read the error, choose a command, and learn
why it works. Nothing runs on your machine.
The current branch is feature/search, and origin/feature/search already exists after a fetch. Set its upstream without pushing.
A branch needs directions.
$ git branch -vv
* feature/search a1b2c3d Search UI
How do you set the current branch’s upstream?
Fixed. By hand.
git branch --set-upstream-to=origin/feature/searchbranch --set-upstream-to associates the current local branch with an existing upstream reference. It changes local tracking configuration without transmitting commits.
Practice does not affect your daily score or streak.