this post was submitted on 10 Oct 2023
24 points (100.0% liked)

Git

2877 readers
20 users here now

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Resources

Rules

  1. Follow programming.dev rules
  2. Be excellent to each other, no hostility towards users for any reason
  3. No spam of tools/companies/advertisements. It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.

Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.

founded 1 year ago
MODERATORS
top 8 comments
sorted by: hot top controversial new old
[–] CameronDev@programming.dev 9 points 1 year ago (1 children)

I'll stick with git commit . -m "stuff" /s

[–] RonSijm@programming.dev 2 points 1 year ago (1 children)

Come on, just "stuff" is way too vague...

It's either "fixed stuff" for a 3k LoC commit where you moved a bunch of stuff around, or "Added stuff" for a 5k+ LoC commit if you actually added anything new

[–] lyda@programming.dev 1 points 1 year ago

And then

git ci -am "Addressed performance issue in flurbin module

The flubin module was designed as a successor to the flurbar module
which took in...
[...500 line essay on the hostory, problem and solution deleted...]

Hopefully this will fully fix the issue discussed."

for a one character change that adds an additional, and unrequired, semicolon.

[–] notnotmike@programming.dev 4 points 1 year ago

I just got started with this after seeing it on here a few weeks ago. And so far I really like it

[–] Rogue 4 points 1 year ago (1 children)

For anyone using conventional commits I highly recommend adding Semantic Releases to your pipeline: https://github.com/semantic-release/semantic-release

[–] SpeakinTelnet@programming.dev 5 points 1 year ago (1 children)

I'm always scared when adding automation around manual inputs that people won't follow the proper syntax and screw everything.

My previous job was to write official documents for engineering changes in an aerospace company, standardized English and everything. Even with the really strict guideline we had typos, self-inculpating wordage and the likes quite often.

[–] Rogue 2 points 1 year ago

Automation doesn't have to be 100%. You can just use the generated change log as starting point and follow your usual process.

[–] sim642@lemm.ee 3 points 1 year ago

Automatically determining a semantic version bump (based on the types of commits landed).

That's overly optimistic. It'll be wrong the moment one person forgets one exclamation mark in one commit message. And it might not even be their fault if it's not clear at the time it causes breaking changes somewhere downstream.

You can't replace proper release engineering.