There are a number of old branches that I used to track which I want to remove from source tree. Is this possible? If I right click the branch in the side menu, I can delete the branch, but I'm not sure if this will just remove it from source tree (as I want) of if it will completely delete the branch from the GIT repo.
If you're using Git, when you delete a branch from the sidebar, if you do it in the local branches section (so ones not under a Remote, they're blue) then the branch will simply be deleted from your local repo. Any branches on remotes will not be affected.
If you want to delete a branch on a remote, you can expand the remote in the sidebar and delete the grey branch underneath. This is a separate task to deleting your purely local branch.
Same question and same concern over what Delete would do. With the recent UI update, the local branches are no longer blue. A picture would be worth the proverbial 1000 words here, but I get an http error when i try to insert an image.
In the Sidebar, there are bolded sections for File Status, Branches, Tags, Remotes, and Stashes. Under Branches, right click the branch to remove and choose Delete. You'll get a confirmation popup with an unchecked checkbox to Force Delete. I did not check the box. As noted by Steve, this only removed the branch from my local repo. I'm guessing Force Delete will remove any local changes???
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot