this post was submitted on 29 Sep 2023
58 points (93.9% liked)

Programmer Humor

32371 readers
510 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] nonearther@lemmy.ml 31 points 1 year ago (1 children)

The only version management I believe in is Nver.

I write code once and then leave the project completely. Start with 0.0.1 and end with 0.0.1

[–] lars@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

Because git doesn’t require, but could definitely benefit from, empty initial commits, my go-to is:

git init
git commit -m='🌳 root commit' --allow-empty
git tag v0.0.0 -am=''
git add -A
git commit -m='✨ initial commit'
git tag v0.0.1 -am=''

which is completely Nver- and Y2K-compliant