Working on several branches I had to find out what I've done the last workday. Here's my alias for .gitconfig
standup = !"git log --reverse --branches --since=$(if [[ "Mon" == "$(date +%a)" ]]; then echo "last friday"; else echo "yesterday"; fi) --author=$(git config --get user.email) --format=format:'%C(cyan) %ad %C(yellow)%h %Creset %s %Cgreen%d' --date=local"
You have to call
on every repo you're on.
Precondition: set up your email in .gitconfig.
Remark: I had to use the ! notation because of adding shell functionality. Using a bash function didn't work - git doesn't load it somehow.
Now I'm working on a (inhouse) github version to get all things I've done.