3 ms·
> But that flexibility adds an extra cognitive burden when a newbie just wants to save a "backup snapshot of the repo". Simple needs have simple answers.
by thaumasiotes 6y ago
> But that flexibility adds an extra cognitive burden when a newbie just wants to save a "backup snapshot of the repo".
Simple needs have simple answers.
git add .
git commit -am '2020-11-17'
Sure, you can ask "why are there two commands?", but this is not so much an issue of cognitive burden as of typing burden. If you only want one thing, you only have to know how to do one thing. If you don't want to know why the procedure does what it does, you don't have to.
- Qwertious 6y agoWhen you're writing into a text file and then save it, you don't have to manually select what lines or pages you're saving - you're saving all of it. This is the mental model 99% of newbies will have for something that basically pledges to save and sync each version of your files. Deviating from the user's mental model will create roadbumps and should not be done without a very strong rationale. Especially not for a feature that's fundamentally optional.
- tremon 6y agoWhen you're writing into a text file and then save it, you don't have to manually select what lines or pages you're saving - you're saving all of it So? When you're saving a file, you're also overwriting its entire contents. Good luck reverting back to the file before you saved it. There is no automatic model for "this change is worth tracking" and "this change is not important enough to annotate". That's the model that git is enabling, and it has nothing to do with the "save" button in an editor. If anything, it has more to do with the "track changes" feature in Word, but more powerful because it allows you to group multiple edits in the same change.
- thaumasiotes 6y ago> When you're writing into a text file and then save it, you don't have to manually select what lines or pages you're saving - you're saving all of it. I don't understand the point you're trying to make; this is just as true of the command I gave.
- rsync 6y ago"Simple needs have simple answers." zfs snapshot pool/home/git@2020-09-07