🚨 STOP using git log
the old way! 🚨
If you're constantly drowning in a flood of commit hashes, author names, dates, and long messages—you're doing it wrong. I used to type git log
like a caveman, getting lost in a sea of unnecessary info. Then I found a BETTER way.
🔥 Meet glp
—my custom alias that makes viewing recent commits insanely easier. Here’s why you need it:
✅ Compact & Clean – No more overwhelming walls of text.
✅ Color-coded for Clarity – Instantly spot commit hashes, authors, and times.
✅ Relative Time Awareness – See commits as "5 minutes ago" instead of a full timestamp.
🔧 How to set it up:
Add this to your .bashrc
or .zshrc
file:
alias glp="git log --pretty=format:'%C(yellow)%h%Creset - %C(green)%an%Creset - %C(cyan)%ar%Creset - %s'"
Now, instead of typing git log
, just type glp
and BOOM—your commit history is cleaner and faster to read.
Trust me, when you're checking commits 5-10 times a day, this little hack saves you HOURS in the long run.
👀 Give it a try and let me know what you think. If you want more efficiency hacks like this, drop a 🔥 in the comments! 🚀 #GitTips #ProductivityHacks #DevLife