The Graph in the Historical view can become quite confusing when there are many branches. I have been able to simplify it for myself by removing remote branches that I have no interest in:
git config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master
git branch -r -d origin/yourbranch
I also remove any tags associated with yourbranch:
git tag -d yourbranch_tag1
But, on a subsequent fetch, even though yourbranch is not retreived, tags on yourbranch are retrieved, which causes the branch to shown again in the Historical view.
Can I configure SourceTree to fetch without getting tags like:
git fetch -n
Or not fetch at all so I can do it manually with the above command?
There is no option to use 'git fetch -n' in SourceTree, but you can configure this in the config file for this repo:
git config --add remote.origin.tagopt --no-tags
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.