As a backend developer juggling daily standups (huddles), client tasks, and side projects, one small thing has saved me countless minutes: a single Git command.
Every morning before standup, developers face the familiar mental hurdle: "What exactly did I touch yesterday?" I used to open Jira boards, skim through VS Code open tabs, and even run manual git diff or check branch histories across multiple repositories just to piece together my update.
Now, I just run one command in my terminal:
This command instantly fetches a clean, formatted list of commits from yesterday across all branches, without any noise from merge commits.
How Each Flag Works Under the Hood
Let's break down why this specific combination of flags is so effective:
-
--all: Instead of searching only the branch currently checked out in your working directory, this searches every local branch. Whether you committed hotfixes tomain, refactored onfeat/inventory-erp, or touched a temporary branch, nothing is missed. -
--no-merges: In high-activity agile teams, merge commits ("Merge branch 'main' into ...") clutter git logs. This flag strips out all merge commits so only genuine code changes remain. -
--since="yesterday": Git's natural language date parsing is remarkably smart. This restricts the log strictly to changes authored within the last 24–36 hours. -
--author="Shekhar": Ensures you only see your own contributions, even in a busy collaborative repo with dozens of engineers pushing commits daily. -
--pretty=format:"* %s": The real secret sauce. Rather than dumping multi-line commit hashes, timestamps, and commit bodies, it outputs clean Markdown bullet points (* Commit message) directly in the terminal!
Set It as a Git Alias
Typing out that entire command every morning defeats the purpose of speed. To make it effortless, set it up as a custom global Git alias:
Note: Replace Shekhar with your own Git author name or email.
The Result: Instant Morning Standup Prep
Now, before your team huddle, all you need to type in your terminal is:
And you get an instant, clean, readable bullet list:
* Fix sub-second query latency on mobile attendance endpoint
* Implement idempotent transaction token validation for payment webhooks
You can copy and paste this directly into Slack, Discord, Notion, or your team's standup dashboard. No guesswork, no forgotten tasks, and zero wasted time.
"Small developer habits compound over time. Automating the repetitive administrative friction leaves your focus where it belongs: writing great code."
Frequently Asked Questions (FAQ)
What is the exact Git command to get yesterday's commits?
git log --all --no-merges --since="yesterday" --author="YourName" --pretty=format:"* %s"
How do I create the git huddle alias?
git config --global alias.huddle 'log --all --no-merges --since="yesterday" --author="YourName" --pretty=format:"* %s"' in your terminal.
Why is --no-merges critical in daily standup logs?
Can I filter for commits from the last 2 or 3 days?
--since="yesterday" to --since="2 days ago" or --since="last Friday" for Monday morning standups!
Join the Discussion & Share Thoughts
Found this git alias useful for your morning standups? React below or join the discussion with engineers on LinkedIn.