4 ms·
This is why I usually just use a temporary directory and do a quick git init . git add . git commit -m "wip" ... and proceed from there. So many w
by Quekid5 5y ago
This is why I usually just use a temporary directory and do a quick
git init .
git add .
git commit -m "wip"
... and proceed from there. So many ways to screw up ad hoc data processing using shell and the above can be a life saver. (Along with committing along the way, ofc.)
EDIT: Doesn't work if you have huuuuge files, obviously... but you should perhaps be using different tools for that anyway.
- chungy 5y agoYou might like to try using src, a simple single-file VC: http://www.catb.org/esr/src/ http://www.catb.org/esr/src/
- ElectricalUnion 5y agoI guess if you want something single-file that resembles git (now thinking better, not sure if a requirement at all), you can also try Fossil ( https://www2.fossil-scm.org https://www2.fossil-scm.org ).
- wombatpm 5y agoThis is why I read HN. You never know when a brilliant idea will appear. Thank you. I never thought of doing this for temporary work