Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am srotsch on github.
  • I am srotsch (https://keybase.io/srotsch) on keybase.
  • I have a public key whose fingerprint is FC99 F7FE E5CA 2B9B 36B1 55D2 6182 F4D8 E13E E39A

To claim this, I am signing this object:

@srotsch
srotsch / git_changelog_from_history.md
Created March 29, 2016 21:22
Generate a basic changelog from Git history

Render a simple list of all changes committed to a Git repository since the last tag

git --no-pager log --date=short --no-merges --pretty="%<(12)%ad%<(9)%h%s" `git describe --abbrev=0 --tags`..HEAD

Explaining the options

--no-pager Do not pipe Git output into a pager.

--date=short Show only the date, but not the time, in YYYY-MM-DD format.