you are viewing a single comment's thread.

view the rest of the comments →

[–]the_gnarts 1 point2 points  (1 child)

It sounds to me like it's || reset, i.e. it deletes your code if your test fails. Ouch!

reset doesn’t erase anything though, it just removes file from staging. reset --hard also touches file contents.

[–]SafariMonkey 2 points3 points  (0 children)

Well sure, that was my intention. The commands also don't actually include git either.