git-standup
$ cat ~/Dev/git-standup
#!/bin/bash
function lastworkingday()
{
if [[ "1" == "$(date +%u)" ]]
then
echo "last friday"
else
echo "yesterday"
fi
}
git log --since="$(lastworkingday)" --author=`whoami` --pretty="format:%h %s - %an"
$ git standup
Written by Carlos Júnior
Related protips
2 Responses

if you add --pretty="format:%h %s - %an"
to the git log you can remove that last ack. %h = hash
%s = commit message
%an = author name
over 1 year ago
·

Thanks, I hated the last ack.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Agile
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#