Created
August 13, 2013 15:02
-
-
Save jk/6222101 to your computer and use it in GitHub Desktop.
Review your changes from last working day in today's stand-up meeting
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 | |
| function lastworkingday() | |
| { | |
| if [[ "1" == "$(date +%u)" ]] | |
| then | |
| echo "last friday" | |
| else | |
| echo "yesterday" | |
| fi | |
| } | |
| git log --since="$(lastworkingday)" --pretty="format:%h %s - %an" | ack -A 3 Palhares |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment