-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
New branch track upstream is the same as the branch that did the checkout from #3675
Comments
You can unset the upstream from the menu under The default behavior is that the local branch tracks the upstream, which is nifty for most use cases. |
I was able to change the upstream, but in my case makes more sense to not set the upstream. I want to make a task based on a teammate's change without changing his branch. Is that a way to change this default behavior locally? |
I think I would be fine with changing the @gabriGutiz In the meantime, a workaround is to hit enter on the remote branch to see its commits, and then hit |
Thanks, @stefanhaller! I'll use this workaround so on. Just adding that I agree with what you said, It's a little annoying that I have to delete the upstream to not make a mess by mistake or do what you described! Thanks for the attention!! |
I agree |
Describe the bug
When creating a new branch from a remote one, the new branch remote track is the same as the old one.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When pushing to the new branch, should ask the remote upstream branch instead of pushing to the old branch.
Screenshots
![image](https://private-user-images.githubusercontent.com/82330800/340714641-3be05358-08d0-43ed-81df-153722736097.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NTc3NTksIm5iZiI6MTcxOTc1NzQ1OSwicGF0aCI6Ii84MjMzMDgwMC8zNDA3MTQ2NDEtM2JlMDUzNTgtMDhkMC00M2VkLTgxZGYtMTUzNzIyNzM2MDk3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDE0MjQxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM1ZDIzNDk2MzU3NjUwZTE5ZTBhOGE1NjhlZjA5ZTE5YTkxZWM2MWFkNjY2NDlkMGIyZDgwY2E1N2Q4OWJmYjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.eHqAyP8s4tGOoUHY3kokkBm9a8MEJi-Fze3yczAZ71Q)
For context: feature/CAN-4068 is the remote branch I did the checkout from.
Version info:
commit=6fcb7eb8bb616c170506312870b3bf15f3dbe37c, build date=2024-05-19T10:15:28Z, build source=binaryRelease, version=0.42.0, os=windows, arch=amd64, git version=2.45.0.windows.1
git version 2.45.0.windows.1
The text was updated successfully, but these errors were encountered: