News for hackers. Stuff that matters.
Re:Fortunately, I don't squash my commits by nemetroid on Monday October 05, 2020 @05:24PM (#24692220)
That's not completely true. There's an order to the parents of a merge commit, and by convention the first parent is the one that was merged "into".
Re:Fortunately, I don't squash my commits by cutemonster on Tuesday October 06, 2020 @08:46AM (#24697101)
So if I'm on master, and 'git merge feature-x', then the parent commit on the master branch will be the first parent? (Not the feature-x last commit)
Re:Fortunately, I don't squash my commits by nemetroid on Wednesday October 07, 2020 @04:38AM (#24706363)
Correct.
Re:Fortunately, I don't squash my commits by cutemonster on Wednesday October 07, 2020 @02:36PM (#24711220)
Thanks