Git Fml


(This post is part of my blog archiving project. This post appeared on Coderwall on September 3, 2013.)


For when you need to go back to a clean slate and declare FML, add this to your ~/.gitconfig:

[alias]
  fml = !"git fetch && git reset --hard origin/master"
.