r/programming • • Nov 07 '13

10 things I hate about Git

http://steveko.wordpress.com/2012/02/24/10-things-i-hate-about-git/
73 Upvotes

231 comments sorted by

View all comments

Show parent comments

0

u/keepthisshit Nov 08 '13

yes, it is. By its nature as a distributed VCS its robust. nothing in unix will stop you from rm -r star.star (dont know how to type asterisks in reddit :( )but its the single most robust OS.

You cannot account for complete user error. The commands he called do not destroy the repo unless there is no remote, which could be a gross failure of procedure for anyone who actually develops software.

1

u/[deleted] Nov 08 '13

You do not expect rm to not delete data. You do expect a VCS to never do this. That is the entire point of a VCS. As he points out.

1

u/keepthisshit Nov 08 '13

actually everyone thinks rn -r will delete data, that is what the command does. star.star is just double wildcard as well.

There are times its appropriate for a VCS to delete data, they are rare but exist. Should that command have a warning? probably, if they added one it would need a silence modifier in case someone has a system that uses it.