dusk-network / dusk-network/.github

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

Open
#41 3 comments 0 reactions 2 assignees View on GitHub

@autholykos is already working on this.

Since Oct 31, 2023.

fix:bug
Dominant language
No language data
Stars
2
Forks
3
Avg merge
19m
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.