I would like to hide/ignore few (not all) branches from remote in sourcetree history. I mean suppose I have branches A, B, C, D and E on my remote repository. I want sourcetree to show only the A an E branches in commit history always. Also if possible never fetch anything in other branches.
Please suggest how this can be accomplished.
You can only hide all remote branches.
The closest result you can get to what you want would be to checkout A and E, but NOT B, C, or D so you have local branches for those (or delete local branches B, C, and D as long as they've been pushed to the server), then uncheck "Show remote branches".
If you want more finegrained control over which branches are displayed in the history, submit a feature request at jira.atlassian.com and post a link to your feature request here so others can find it to vote it up.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
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