The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

What are the commits that are linked in a commit

Michael Nieman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 31, 2021

If I look at a commit in Bamboo (URL ending with "/commits/<commit-hash>"), there seems to always be one or two links to other commits on the right side.  If I click on them it begins a seemingly endless journey down a long line of commits.  What is the significance of the links that appear on a particular commit?

Screen Shot 2021-03-31 at 10.00.04 AM.png

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Steffen Opel _Utoolity_
Community Champion
March 31, 2021

Hi @Michael Nieman

Welcome to the Atlassian Community!

The screenshot seemingly stems from Bitbucket Server (I guess you reached the screen by clicking the resp. commit on your Bamboo build result).

This line lists the parent commit(s) of the commit you are looking at (the one in your URL ".../commits/<commit-hash>") - regular commits just have a single parent commit, but in this case you seem to be looking at a merge commit, which has two parents.

You should be able to visualize this hierarchy when you navigate one up to the entire commit history (just the ".../commits" URL), here's an example:

cac-62399-commit-overview.png

As you can see, commit 841b7e6df25 has been merged into another branch, so the resulting merge commit e066465439b now has two parents, namely 841b7e6df25 and the preceding commit 9acdc6a6864 from the target branch. This is exactly what is shown when I navigate to the commit view for e066465439b:

cac-62399-commit-view.png

I hope this helps, Cheers,
Steffen

Michael Nieman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 1, 2021

That makes perfect sense. Thank you for the detailed & timely response!

Like Steffen Opel _Utoolity_ likes this
TAGS
AUG Leaders

Atlassian Community Events