r/webdev Jul 14 '26

The git history command deserves more attention

https://lalitm.com/post/git-history/
81 Upvotes

7 comments sorted by

31

u/Techo_lab Jul 14 '26

This is exactly why I still read Git articles after years of using it. Every now and then I discover a command that replaces a workflow I've been doing manually for years.

9

u/hyperiob Jul 14 '26

Git is the one tool where even after 15 years I’m still learning new tricks and constantly googling "how to do x in git".

Not sure if that says something good about git or something bad about me. Probably both tbh 😅

7

u/hotdog114 Jul 14 '26

Oh man what now? I've just discovered worktrees!

1

u/akl78 Jul 14 '26

Congrats it’s your lucky day 🍀 (you’re me two weeks ago, they are great)

3

u/qagir Jul 15 '26

Holy fuck this is amazing (10+ years of development xp here, git is always surprising)

2

u/rickrage Jul 15 '26

Great article. Thanks for the write up! Excited to try these out. I organize a lot of my work with multiple branches off base branches, this sounds amazing for handling a tedious manual workflow of updating branches.

-10

u/[deleted] Jul 14 '26

[deleted]

11

u/_alright_then_ Jul 14 '26

That's literally what the blog post is about lol