Git · Senior · Question 29 of 76

Why can a branch named feature block creating feature/login?

Explanation

Loose refs are stored as files under refs/heads/, so refs/heads/feature can't also be a directory. Teams pick a naming scheme like feat/... up front.

Further reading

Problem with a question

Git · Senior · question 29

Test yourself

Take the Git · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz