5 ms·
Why not just use a filesystem which supports snapshots? It would allow you to go back without even invoking git.
by amelius 10y ago
Why not just use a filesystem which supports snapshots? It would allow you to go back without even invoking git.
- charlesdenault 10y agoBecause a simple, but clever, alias that integrates with everyone's existing workflow is a lot easier?
- throwanem 10y agoWhy not just boil the ocean?
- Dylan16807 10y agoUsing a better filesystem isn't that hard. Sure, on windows you have to set it up as a network drive, but that's a few minutes of effort.
- dboreham 10y agoThat was called : ClearCase.
- dozzie 10y ago1. calculating differences 2. merging two or more different branches 3. transporting code (publishing it) 3a. accepting somebody else's patches 4. descriptions of history points 4a. pointers to parent code trees (especially with tree merges) 5. history traversals (bisecting, among the others) Not to mention that you need either administrative privileges for creating a snapshot or a special kind of filesystem that supports this for non-administrator. And sysadmin still needs to prepare such a filesystem for your $HOME.
- Dylan16807 10y agoWhat are you talking about? amelius is mentioning an alternative to the hacky "git undo", not an alternative to git. You put your git repo onto the filesystem. As far as administration, most devs will have elevated rights or can use FUSE or something. We could talk about needing administrative privileges to install git, too, but it's pretty far removed from the central topic.
- dozzie 10y ago> amelius is mentioning an alternative to the hacky "git undo", not an alternative to git. Ah, so I misunderstood. Still, changing the filesystem under $HOME (or whatever is the working directory) is more difficult than using some user-level tool.