gh icon indicating copy to clipboard operation
gh copied to clipboard

As a developer, I'd like to fetch&push branches with a name more descriptive than 'pr-312'

Open mdelapenya opened this issue 11 years ago • 5 comments

I love using this tool, but after a couple of months using it, I see that the number of my remote branches has increased a lot, and it seems difficult to me to identify which one to remove locally, as they are named only with pull request ID:

When sending the pull request to other user, gh command removes local branch (remote cannot be removed at this time)

I'd like to have a local branch named pr-312-LAST_COMMIT_DESCRIPTION, so that I can decide later if that branch is outdated or not, just reading a "git branch -a" command.

Please close this issue if you don't consider it, thanks

mdelapenya avatar Jun 06 '14 16:06 mdelapenya

@mdelapenya, It makes sense, I totally agree with you. :+1:

brunocoelho avatar Jun 09 '14 13:06 brunocoelho

I prefer using the branch name - that is what hub does and this works really well if one uses sensible branch names (like with jjira/bug id references)

maxandersen avatar Mar 15 '15 02:03 maxandersen

actually it uses - so there are no bad overlaps.

maxandersen avatar Mar 15 '15 02:03 maxandersen

Any progress on this issue?

Thanks!

mdelapenya avatar Feb 08 '18 07:02 mdelapenya

Hey @mdelapenya no progress on this yet but open to PRs!

protoEvangelion avatar Feb 10 '18 01:02 protoEvangelion