Created
December 22, 2022 18:20
-
-
Save alexdewar/4b70a542a7a7d1a86132da74339a0157 to your computer and use it in GitHub Desktop.
Show all commits from different repos on a specified date
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
#!/bin/bash | |
if [ $# -ne 1 ]; | |
then echo "Please specify a date" | |
exit 1 | |
fi | |
set -e | |
date=$(date +%Y-%m-%d -d "$1") | |
echo Showing commits on $date | |
gita super log --all --exclude=refs/stash --date=format:"%H:%M:%S" --author-date-order --after="$date 00:00" --before="$date 23:59:59" --pretty="format:%C(yellow)%h %C(green)%ad %C(reset)%s" --author="[email protected]\|[email protected]" --reverse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment