Skip to content

[Feature request] name branches on github with a prefix of local branch #454

@dmtrKovalenko

Description

@dmtrKovalenko

Currently created branches on github are named like spr/main/e104a00c which gives no real information. The main part is likely taken from the "target" branch.

Which leads to the situation when you are forgetting how your local branch is named and you have to search for a local branch that contains commit with a specific hash using git branch --contains which is sometimes annoying.

My proposal is to change to always name a branch like spr/<name of the local branch>/hash thus it will be always crystal clear what exactly has to be checked out.

Just need to make sure that the parsing is not broken if the local branch name contains "/"

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