Skip to content

Instantly share code, notes, and snippets.

@olmstadfm
Last active December 3, 2015 12:58
Show Gist options
  • Save olmstadfm/065c6a4f90c8cec32c95 to your computer and use it in GitHub Desktop.
Save olmstadfm/065c6a4f90c8cec32c95 to your computer and use it in GitHub Desktop.
Посмотреть коммиты во всех репозиториях в папке за определенную дату
# 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