Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify Branch Name #559

Open
thomaswitt opened this issue Nov 9, 2024 · 0 comments
Open

Modify Branch Name #559

thomaswitt opened this issue Nov 9, 2024 · 0 comments

Comments

@thomaswitt
Copy link

I would like to dynamically change the branch name, e.g. if it's too long or confirms has a certain condition. e.g. I am using gitbutler, and I get "gitbutler/workspace" as my branch name, which I would like to shorten to GB.

It seems to me that there's no official API to modify the branch name. I can only use GIT_PROMPT_BRANCH to do a prefix, but that's it. A possibility to provide a function to dynymically modify / shorten the branch name would be highly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant