cp $fic $fic.$(date -Iseconds) git commit -a -m "save at $(date -Iseconds)" # edit $fic git commit -a -m "save at $(date -Iseconds)" git push -f
cp?💀
cp is short for create packup
Git is so ready to understand, that I don’t understand how people work without it.
It’s one of those things that’s hard to really understand why it’s so useful, until you actually use it.
cp index.php index.php-20250220
Couldn’t add perforce to the list because someone else was checking it out, I see.
That last one is more common than I’d like, a lot more
Oh I used to do it as a kid
$ cp -r src/ src.old
No sir never seen it in me life, honest to god sir
CVS is gonna make a comeback! I tell ya!
I do miss the tags of SVN that would replace certain strings on each commit such as the date, a version number, etc.
The last is just a normal git workflow, isn’t it?
I’m pretty sure it means, they copy and paste the project file and iterate the version number manually.
Perforce Helix, here I come!
No love for cvs?
The last one can easily describe Django. Feels like depending on the code base/your mistakes/people you work with can easily turn a normal project into a project where majority of the files is just migration files.
btrfs sub snap -r
With properly configured subvolumes, I’ll allow it.
Isn’t that just git with more steps and harder to share?
It’s equivalent to
cp -r
, but:- the copy is read-only
- reuses unchanged files
- easier to share (
btrfs sub send
)
Sounds just like git (unless you do some special operations to change the copies)
Why did you mention git twice?
While TFS did support Git, I had to deal with the much worse TFVC for a long while, up until Azure DevOps came along.
At university there were some students that want to manage projekts in could storange. That was just stupid but i didn’t know it better at that time.
It’s quantum stuff, I could do that, or I could not do that…
I’m sick…that’s my excuse…
Didn’t want to be mean with the meme
Don’t worry, it’s fun
It’s actually a pretty good idea to have a full system snapshot time to time, where the project can compile successfully, for future Virtual Machine use. It’s usually easier to spin a VM than setting up the whole dev environment from scratch.