#!/bin/sh # Help messages: LONG_USAGE="Print a git log including tags" # Tell git-sh-setup we're ok with being in a subdir: SUBDIRECTORY_OK=1 . "$(git --exec-path)/git-sh-setup" # Make sure we're in a working tree require_work_tree_exists git log --date=short --pretty='format:%h %ad %d %s'