vyl8zg
Last Updated: April 12, 2016
·
4.856K
· kenton
4b46c13819f0a57a760497957307361a

Git logs for your daily standup

git

Cool way to see what you might want to mention during your daily standup:

$ git log --since '1 day ago' --oneline --author <YOUREMAIL>

You can even save this as an alias in your .git/config or globally in your ~/.gitconfig

So something like this in either config file:

standup = log --since '1 day ago' --oneline --author <YOUREMAIL>

And of course, you can customize this to your heart's content. Just check out the docs on the 'git log' command:
http://git-scm.com/docs/git-log

Here's mine:

standup = !clear && git log --since '1 day ago' --no-merges --pretty=format':%C(yellow)%h %aN%n %B%n' --author Kenton

(clears the screen, prints git log of my commits since one day ago while ignoring merge commits, using a customized format)

Source:
http://net.tutsplus.com/tutorials/tools-and-tips/git-tips-from-the-pros/

Say Thanks
Respond

2 Responses
Add your response

4219
15e815080bfae3b60649967170080ed7

Nice idea.I made it more copy & paste friendly by removing dependency to the name.

standup = !clear && git log --since '1 day ago' --no-merges --pretty=format':%C(yellow)%h %aN%n %B%n' --author $(git config --global --get user.email)
over 1 year ago ·
5475
Ec58c3926e9b3480545e5218cb767c4f

Here is a solution to find out what you also did on Friday on the following Monday.

http://stackoverflow.com/questions/6547199/git-log-since-yesterday-for-working-days-only

over 1 year ago ·
Filed Under