Created
July 17, 2017 09:41
-
-
Save dunglas/27f00763d93b24b78a5ad363be2f0c19 to your computer and use it in GitHub Desktop.
Extract interesting commits from a Git repository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# All commits | |
git log --all --after="2016-01-01 00:00" --before="2017-01-01 00:00" --pretty=format:'%C(yellow)%h %Cred%ad %Cblue%an%Cgreen%d %Creset%s' --date=short --no-merges --first-parent master --author-date-order --reverse > ~/cir/api-platform-standard-edition | |
# Commits from a specific author | |
git log --all --after="2016-01-01 00:00" --before="2017-01-01 00:00" --pretty=format:'%C(yellow)%h %Cred%ad %Cblue%an%Cgreen%d %Creset%s' --date=short --no-merges --first-parent master --author-date-order --reverse --author="dunglas@gmail.com" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment