Last active
December 3, 2015 12:58
-
-
Save olmstadfm/065c6a4f90c8cec32c95 to your computer and use it in GitHub Desktop.
Посмотреть коммиты во всех репозиториях в папке за определенную дату
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
# Run like this: | |
# what_have_i_done 2015-12-01 | |
function what_have_i_done { | |
cd /opt/redmine/plugins/ | |
DATE=$1; | |
NAME=$(git config --global user.name); | |
for repo in $(find . -maxdepth 1 -type d); | |
do | |
echo $repo; | |
cd $repo; | |
git log --since="$DATE 00:00" --until="$DATE 23:59" --branches="*" --author="$NAME"; | |
cd /opt/redmine/plugins/; | |
done | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment