#-*-mode:sh;indent-tabs-mode:nil;tab-width:2;coding:utf-8-*-┐ #───vi: set net ft=sh ts=2 sts=2 fenc=utf-8 :vi─────────────┘ git checkout $(git rev-list -n 1 HEAD -- "$1")^ -- "${1:?FILE}"