4 ms·
I don't really use version control for text because it is often pointless (how helpful are one or two commits when I will never touch the text again after getti
by Matt3o12_ 11y ago
I don't really use version control for text because it is often pointless (how helpful are one or two commits when I will never touch the text again after getting graded). And yet I still use More tradition text ediots for that (WYSIWYG editors can get really annoying). Though i personal vim over atom but that is not the point. The point is that undoing things is really important.
I've also often been in a position where I do big commits that contain about 200 lines of code and messed up by using replace/etc in the wrong way
- yAnonymous 11y agoYou can add files to the index before doing find/replace and then go back to that if something goes wrong. When you only add files to the index right before you commit, you are wasting a lot of your VCS' potential.
- Matt3o12_ 11y agoI sometimes do that for as a kind of backup, when there is a chance that something disastrous could happen but that requires that I use a version control system (which is pointless for text documents with less then 2000 Words IMO) or that I remember doing that. Because once I add files to the index, i might as well create a commit and squash it later.