this post was submitted on 29 Sep 2023
54 points (95.0% liked)

Programmer Humor

32503 readers
642 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 30 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