Skip to content

Instantly share code, notes, and snippets.

@alexdewar
Created December 22, 2022 18:20
Show Gist options
  • Save alexdewar/4b70a542a7a7d1a86132da74339a0157 to your computer and use it in GitHub Desktop.
Save alexdewar/4b70a542a7a7d1a86132da74339a0157 to your computer and use it in GitHub Desktop.
Show all commits from different repos on a specified date
#!/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