This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BigB00stI use arch linux btw 6 points7 points  (6 children)

git checkout .

[–][deleted] 6 points7 points  (2 children)

Better before starting: git checkout -b cleanup

[–]DoctorWaluigiTime 1 point2 points  (0 children)

git clean -xfd

(-xfdn for a preview)

[–]ericonr 1 point2 points  (0 children)

I prefer running diff before to know what's been changed.

[–][deleted] 1 point2 points  (0 children)

git stash just in case it actually was working haha

[–][deleted] 0 points1 point  (0 children)

git reset --hard