1
#!/bin/sh
2
3
git commit -n -a -m "Throwing away..." && git reset --hard HEAD^