SourceTree can push changes from local branch to remote branch fine.
But after renaming local branch, which causes local and remote branch have different name, then Push window no longer list those branches.
If change local branch name back, branch back to list in Push popup window.
Tested on latest SourceTree and embeded Git as of 1/21/2021.
I just had the same issue. The way I fixed it was:
git push --set-upstream remote-name new-branch-name
My renamed branch is now in listed in the push menu again
@Ryan Liu
Once I download the repo to my local machine. Any changes I make I push them using feature branch.
My feature branch can have any name of my choice.
Once in Git I always make sure I am inside the right branch before committing. Otherwise nothing will get pushed
What is the error you are getting?
Best,
Fadoua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fadoua,
No error. As said in the question, just renamed branch no longer listed in Push window.
Other tools like Git Extension has no such problem, it does not require local and remote branch to have same name.
Ocz, I can always do it in cmd line. I am reporting a SourceTree UI bug. Should easy to fix.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.