Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's true, but unfortunately, trashing is the default.

Without any hooks, the next "git commit" on the remote system would add a patch that reverts the uploaded changes. This is very contra-intuitive and could be the source of big mistakes. It's a really nasty trap if you don't watch out!

I like more the approach of Marcurial and Darcs where "not trashing" is the default.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: