templates / branches--on commit reset: disallow "reset --keep" outside a work tree (ab892a1)
   1: this is just to ensure the directory exists.