loading...

re: 3 Git Commands I Use Every Day VIEW POST

FULL DISCUSSION
 

In my experience, git reset --hard is nice, but it doesn't get the job fully done because I've added new files or folders, so I often have to use git clean in combination with --hard. As a newbie, I was surprised that you had to use a second step to remove any newly created files after the hard reset and have always been puzzled that it's not a one command kind of thing.

code of conduct - report abuse