Created
February 20, 2020 01:54
-
-
Save bryant1410/d6dd72fbeede64a2f4a9dcdc916ada04 to your computer and use it in GitHub Desktop.
Find any commit from any repo for a given author and between given dates
This file contains hidden or 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
#!/usr/bin/env bash | |
for d in ~/repos/*; do | |
pushd "$d" > /dev/null | |
if [ -d .git ]; then | |
echo $d | |
echo "branch $(git rev-parse --abbrev-ref HEAD)" | |
git --no-pager log --color=always --all --oneline --graph --decorate --after 2019-04-20 --before 2019-05-15 --author='Santiago Castro' | |
fi | |
popd > /dev/null | |
done | less -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment