Re:Developer accidentally deletes 3 months of work with Visu...
by hungerstrike on Friday August 18, 2017 @11:29AM
(#15047044)
The commandline offers just as much opportunity to screw up your repository as a GUI does, if not more.
[ Parent
| on HN ]
Re:Developer accidentally deletes 3 months of work with Visu...
by aaronchall on Saturday August 19, 2017 @06:18PM
(#15055939)
Here's the description for the man-page for git-clean:
> git-clean - Remove untracked files from the working tree
https://git-scm.com/docs/git-clean
Now I would call that description very precise and readable.
Here's the GUI's warning:
> Are you sure you wish to discard ALL changes? This is IRREVERSIBLE!
What changes? He didn't change anything. Did the GUI change something? Maybe it did. Maybe nothing will happen.
Foolish not to back-up before experimenting? Sure. But GUI's imply friendliness to the inexperienced. This seems like bad UX.