So for the last few months I’ve been having a problem with not remembering what I’ve worked on the day before. I’m putting it down to bad memory however when attending my daily stand up meetings this is becoming a problem.
I tried a few things to jog my memory:
- At the end of the day note down what I’ve been working on.
- Use git to look through git log and pick out my commits that I’ve pushed to the branch.
The first option was useful until I started forgetting to note stuff down, so of course this meant I was back to square one. However the second option worked really well but only if you committed useful messages like “Implemented navigation bar” and not “Fixed stuff” but lucky for me I’m pretty descriptive (🤔)… however so is everybody else on my team, so it meant slowly looking through commits and working out if they’re mine or not, which led me to a very simple idea.
A git alias that only shows commits with a specific author and since the day before:
scrum = log --since='1 day ago' --author='Joe Richardson' --oneline