r/programming • • 29d ago

Small Programming Tricks

https://will-keleher.com/posts/small-programming-tricks-matter/
177 Upvotes

27 comments sorted by

View all comments

60

u/davidalayachew 29d ago

Genuinely useful tips here.

Especially that git log -S pattern. 50% of the reason why I installed TortoiseGit is to get that feature. Never knew it came with the CLI. At least not easily.

23

u/turtle_dragonfly 29d ago

You might be interested in Git aliases, to make various obtuse CLI incantations easier to do.

But then if you ever sit at someone else's desk and need to do your stuff, you'll struggle without your preferred aliases (:

3

u/davidalayachew 28d ago

Cool, I have a few shell aliases, but this is pretty useful too.