• nonearther@lemmy.ml
    link
    fedilink
    English
    arrow-up
    33
    arrow-down
    1
    ·
    1 year ago

    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
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      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