[HN Gopher] How I Use Git
___________________________________________________________________
How I Use Git
Author : BerislavLopac
Score : 37 points
Date : 2024-10-19 20:21 UTC (2 hours ago)
(HTM) web link (registerspill.thorstenball.com)
(TXT) w3m dump (registerspill.thorstenball.com)
| grahamj wrote:
| Mostly agree, though I prefer pulling latest from main over
| rebasing as the latter messes up the "New changes" markers for
| reviewers in GH.
|
| Also we always squash merge so I don't bother squashing my
| commits. Don't review commit by commit.
| gorgoiler wrote:
| A lovely write up.
|
| Regarding the formatting of commit messages: if everyone on your
| team is doing things slightly differently is something going
| wrong and what could fix it?
|
| Is it a respect issue: people don't follow a consensus because
| everyone is a headstrong individualist who refuses to play along
| with others?
|
| Is it a communication problem? Are people just not intermingling
| in the commit message culture enough that they all naturally
| converge on a house style?
|
| Is it a leadership issue? Are there no clear leaders in your
| engineering team who collude -- consciously or subconsciously --
| to set the tone for everyone else?
|
| Is it a technical issue? Without a pro-forma commit message
| template or additional tooling, are you failing your eng org by
| not giving them the framework / training wheels / guard rails
| they need to align on a house style for technical documentation?
|
| I've been part of very healthy teams who largely ended up self
| organising into a consistent house style with a little help from
| tooling. I've also been part of unhealthy teams who fork
| themselves into multiple internal cliques that don't intermingle
| enough to build up a monoculture. The healthiness of the teams
| might correlate with the commit message / commit graph style, or
| it might not. I wonder how it could be done better.
___________________________________________________________________
(page generated 2024-10-19 23:00 UTC)