#!/bin/bash #GPLv3+ see COPYING.GPL git reset --hard HEAD~1; git show | grep Date | awk -F':' '{print $2 $3 $4 $5}' | awk -F' ' '{print $2" "$3" "$5}';