Skip to content

Instantly share code, notes, and snippets.

@murven
Last active April 13, 2018 14:08
Show Gist options
  • Select an option

  • Save murven/80906dc25f3c271d8cb39a09535131fe to your computer and use it in GitHub Desktop.

Select an option

Save murven/80906dc25f3c271d8cb39a09535131fe to your computer and use it in GitHub Desktop.
Git: save commit history (excluding merges) to a file.
git log --pretty=format:"%h - %an, %ad : %s" --no-merges > output-file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment