Created
October 14, 2021 02:42
-
-
Save lucasalvessouza/7302fb82329b6c3e0d80899e8e0b395f to your computer and use it in GitHub Desktop.
Projects git log compile
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
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