Hacker News new | ask | show | jobs
by toadi 837 days ago
You remember CVS hell yeah and SVN too ;) Fuck am I getting old...
1 comments

projrc3.zip

I know people who still make zip/tarball copies of source trees because they don’t trust git, etc.

> Only wimps use version control: real men just merge patches from their email inbox, upload release tarballs on ftp, and let the rest of the world mirror it ;)

-- Linus Torvalds

(not really, but almost)

Meanwhile, other people trust git so much that they treat it more as a tool for doing an incremental back-up than as a distributed VCS (git commit -a -m x && git push).

I must admit I have occasionally used git as a tool for transferring files (https://xkcd.com/949/).

I am actually doing exactly that to manage my personal KeyPass database, down to using "x" as the commit message; it works reasonably well since GitHub allows you to download files with just HTTPS.
Eh, there is nothing particularly wrong with

    #!/bin/sh -e
    TARGET=../$(basename "$(pwd)")@$(date --utc +'%Y-%m-%dT%H:%M:%SZ').tar.gz
    tar czf "$TARGET" .
You can even add a fourth line to upload it somewhere automatically...