Skip to content

Cannot commit to branch with / in name #66

@NTARelix

Description

@NTARelix

Simple Description

I cannot commit to branches with the / character, and I assume there may be other valid git branch names with special characters that might fail in this app.

Reproduction

  1. Start app clean
  2. git checkout -b feat/a
  3. New branch not highlighted, despite the fact that HEAD points to the appropriate commit
  4. git commit
  5. No new commit node in graph and receive the following error in console

    Not a good idea to make commits while in a detached HEAD state.

  6. git checkout -b feat-b
  7. New branch highlighted and HEAD points to appropriate commit
  8. git commit
  9. New node added, branch moved, HEAD follows; all as expected

Expectation

I've seen many orgs that use / in branch names for things like release/9.5, bug/PROD-1234, feat/SOME-9876. Would be nice to allow / in the name and maybe investigate other valid special characters in branch names and allow them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions