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

Weird behavior if branch name prefix only differs in capitalization #2244

Open
benedek-kozma-zenitech opened this issue Nov 14, 2024 · 3 comments

Comments

@benedek-kozma-zenitech
Copy link

A new coworker is prefixing branches with bugFix/ instead of bugfix/ and this drives Fork crazy. If I create branch bugfix/foo and press Commit & Push then it gets pushed to bugFix/foo and then there will be a yellow triangle at the corner of the icon, indicating that there are no remote branches for this. It is also offering to "push and create pull request" since it thinks that there is no remote branch.

@benedek-kozma-zenitech
Copy link
Author

correction: it pushes to bugfix/foo on github but it will be shown as origin/bugFix/foo in the side panel of Fork.

@DanPristupov
Copy link
Contributor

DanPristupov commented Nov 14, 2024

#2169
#670

@DanPristupov
Copy link
Contributor

DanPristupov commented Nov 14, 2024

If I create branch bugfix/foo and press Commit & Push then it gets pushed to bugFix/foo

To fix the problem you must remove all branches with wrong capitalization and then create them again with correct capitalization. You man need to create temporary branches first to do that.

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

2 participants