I found this other question here that seeks general understanding of the SourceTree history graph. There was a start of an answer, but I want to take it further. I'd love to get pointers to documentation or other helpful information. However, I will ask a few specific questions about this particular case.
sourcetree.png
For the given Git repository, I have 8 branches local and I have highlighted an additional branch that is only remote.
Of course, any pointers to further documentation would be greatly appreciated.
@Seth, it appears that you and I were writing the same answer at the same time!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, good to have both though as confirmation/clarification.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Agreed, @Seth. As my brother is fond of saying, "GMTA!" (Great minds think alike!) LOL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First of all, may I suggest you get a good book or online training course on Git and study up? Getting these concepts straightened out will serve you well if you are going to be using Git.
The commit, not the branch is the fundamental unit of work in Git. Everything depends on the commit. A branch is nothing more than a pointer to a specific commit. This is true even for master and HEAD. I think you might be confusing these two concepts which leads to your questions.
Hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Commits that do not have any connection to any branch or tag label will not show up in the Sourcetree ui or git log, so deleting a branch can make 9,000 commits just disappear.
If you had recently checked out the branch before you deleted then a reference to it will be shown in the git reflog command list and you can then create a new branch or tag from the commit hash shown there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The graph was very obviously designed by a coder. If it had been designed by a UI/UX Engineer, it would've had much more utility, I think.
A graph is a visual representation, a metaphor, if you will, abstracting esoteric information such as statistics or formulas or, in this case, relationships into an image everyone can understand. A metaphor should be readily recognizable at a glance, it should have a representation that a person can recognize. The mere fact that this graph spurs so many questions and requires such repeated and meticulous explanation makes it a bad metaphor, a bad visual representation, and therefore a bad graph.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.