Last active
August 29, 2015 14:22
-
-
Save dcode/949ad498441b176bf684 to your computer and use it in GitHub Desktop.
Shows all commits that happened last week
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
# Find all commits from last week since Sunday from current directory | |
find . -name .git -print -exec git --git-dir={} log --branches \ | |
--pretty=format:"%ci|%D|%s%n" --since="$(date -v-1w -v-sun +%F)" \ | |
2>/dev/null \; | grep -B1 -E "^[0-9]{4}" | grep -v -E "^$|--" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment