I look at the commit history using gitkand git log, and I'm trying to figure out how a particular commit arrived on a particular branch. I can see the fixations in the story, so I know that they are there.
I want to understand how they merged (they had to stay on their branch). This is a very large project and there are hundreds of commits between the message in question and the current state of the branch, so I can not clearly decrypt through a limited DAG in gitk, and the commit will be masked in other branches and merges and commit messages.
To do this, I tried:
gitk {sha1hashIDstring}..branch_name
gitk {sha1hashIDstring}..branch_name --ancestry-path
git log {sha1hashIDstring}..branch_name --reverse
git log {sha1hashIDstring}..branch_name --merges --reverse
git log {sha1hashIDstring}..branch_name --ancestry-path --reverse
git log {sha1hashIDstring}..branch_name --ancestry-path --merges --reverse
And I do not understand the results. I ONLY want to see elements that include the specific commit in question, so I clearly see how it got into the industry in question. How to do it?
Example
What I'm looking for is gitkpreferable, but it git logwill be enough:
Message Author Date
Message Author Date
Message Author Date
Message Author Date
Message Orig_Author Date
Additional Information
I still do not see the answers, so I will start generosity if no one comes, but maybe I will not explain the question correctly (I am open to suggestions for improvement and clarification).
The driver for this is that I can see the fix itself, and they tell me that it should not be on a particular branch. Here is what I see:
Message Orig_Author Date
Message Orig_Author Date
...
Message Author Date
Message Author Date
...
Message Author Date
, test_dec14 test_jan15, , {sha1hashIDstring} commit test_jan15, . , , , .