Last active
June 16, 2017 14:23
-
-
Save esycat/18a8ea870b69816d2193ec0c0dc6571a to your computer and use it in GitHub Desktop.
Find the number of unique commits since the given date on all remote heads
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
# N.B. The uniquenes is determined based on `git-patch-id` that is simply a hash of the diff | |
since="2016-07-01" | |
for c in $(git log --since="${since}" --remotes --format="%H") ; do git show $c | git patch-id ; done | sort -u | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment