3 ms·
You 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 yo
by yAnonymous 11y ago
You 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.