10
C0D4
3y

Unpopular opinion:

Version control is shit, just rewrite it every time you change something and need to roll back.

Convince me otherwise!

Comments
  • 7
    Yo mama rolls back into the pool.
  • 4
    If version control didn’t exist, I probably wouldn’t stay in the field 😄
  • 4
    @Fast-Nop that's a bloody big pool

    @black-kite some of us like to live dangerously.
  • 4
    It is a chore but also a really rewarding one.

    Someone changed some of your code a while ago that fixed something? Look it back up!

    Wanna find out when you implemented feature X? Look it up!

    Wanna find the magical code you did a while back and need in another project now? Look it up!

    ---

    For smaller projects, it is probably indeed healthier to rewrite the code. But even then I would advise to use a versioning system regardless. Projects without one are just drafts or really small personal projects imo and should not be taken seriously.

    As a nice bonus you get a neat "development journal" if you named your commits somewhat sensibly (or even better linked them with tickets/issues/prs). Nice for whipping up an overview of the software development after the fact.

    But tbh, learning to merge/rebase stuff is a pain the first few times.
  • 1
  • 0
    @C0D4 count me in.

    I know it's a bad habit, but I push changes after a lot of uncomitted changes have been made on the local system.
Add Comment