Skip to content

CONTRIBUTING.md gives advice on branch name that is invalid for Git #41

@kieranhall

Description

@kieranhall

Describe the bug
In the CONTRIBUTING.md file, there is advise to create a branch named something like feature-[issue_nr]. However, if you try to make a branch using that format (or even that exact example), then you get an error: fatal: 'feature-[issue_nr]' is not a valid branch name..

To Reproduce

  • Clone any repo
  • Checkout a new branch (git checkout -b feature-[issue_nr])

Expected behaviour
The CONTRIBUTING.md file should give valid examples for developers to follow, such that questions over conventions are made irrelevant.

Logs/Screenshot

$ git checkout -b feature-[issue_nr] ⬡ 18.12.0 [±main ✓]
fatal: 'feature-[issue_nr]' is not a valid branch name.

Metadata

Metadata

Labels

fix:bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions