Reverted head~ since -p is not support in cygwin