If you want to reset totally your repo to the last commit:
git reset --hard &&git clean -df
You also would like to add it as an alias:
alias nah="git reset --hard && git clean -df"
You can find this page with theses search keywords:
/ reset /
Thanks for reading!
I'm Mathieu TUDISCO, a lead developer at
Linkvalue
.
You can find me anywhere with @mathieutu.
As a start you can follow me on
Twitter
or want to find out more about
me or the
blog.