Last active
April 11, 2016 10:29
-
-
Save PierrickKoch/95d34da383add54346db to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| work=$HOME/work | |
| name=$(git config --get user.email) | |
| since=1week | |
| [[ ! -z "$1" ]] && since=${1} | |
| for workdir in $(ls ${work}); do | |
| if [[ -d ${work}/${workdir}/.git ]]; then | |
| cd ${work}/${workdir} | |
| echo ${workdir} | |
| git log --oneline --author=${name} --since=${since} | |
| fi | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment