Created
June 29, 2017 02:42
-
-
Save zld/edc771237f549b7a505e57fd3537fbcc to your computer and use it in GitHub Desktop.
List what I have done yesterday
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
rm /Users/zld/Dev/yk/ylog | |
print_log() { | |
git log --since=yesterday.midnight --author=ZhuLida --pretty=format:%s | perl -pe '$_ .= "\n" unless /\n/' >> /Users/zld/Dev/yk/ylog | |
} | |
for repo in $(ls /Users/zld/Dev/yk/) /Users/zld/Dev/yk/24h/inke_ios | |
do | |
cd $repo &> /dev/null | |
print_log &> /dev/null | |
cd /Users/zld/Dev/yk/ &> /dev/null | |
done | |
cat /Users/zld/Dev/yk/ylog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment