Skip to content

Instantly share code, notes, and snippets.

@blaxter
Last active December 15, 2015 22:49
Show Gist options
  • Save blaxter/5335649 to your computer and use it in GitHub Desktop.
Save blaxter/5335649 to your computer and use it in GitHub Desktop.
standup
function yesterworkday()
{
if [[ "Mon" == "$(date +%a)" ]]
then
echo "last friday"
else
echo "yesterday"
fi
}
git log --since="$(yesterworkday)" --author `git config user.email` $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment