Skip to content

Instantly share code, notes, and snippets.

@lucasalvessouza
Created October 14, 2021 02:42
Show Gist options
  • Save lucasalvessouza/7302fb82329b6c3e0d80899e8e0b395f to your computer and use it in GitHub Desktop.
Save lucasalvessouza/7302fb82329b6c3e0d80899e8e0b395f to your computer and use it in GitHub Desktop.
Projects git log compile
ROOT_PATH=$PWD
for repository in */; do
cd $ROOT_PATH/"$repository"
LOG_OUTPUT=$(git log --pretty=format:'%s' --since="1a.m" --author='Lucas Souza')
if [ ! -z "$LOG_OUTPUT" ]
then
echo "Project $repository"
echo "$LOG_OUTPUT \n"
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment