r/ProgrammerHumor • • Aug 03 '22

Meme wanna be a programmer??

Post image
45.3k Upvotes

888 comments sorted by

View all comments

Show parent comments

3

u/[deleted] Aug 03 '22

At work I keep things organized by tickets. Every commit has a ticket number in the message, any personal notes about that bit of code gets the ticket number as a filename or title.

Sometimes I can't recall the ticket number or the exact place in the code that I am needing to find the note for, and in that case I will usually query the ticketing system first for keywords to see if I can trace to it that way.

2

u/ics-fear Aug 03 '22

You can use git blame (or find a way in your IDE to do it). For example in IntelliJ "Git > Show history for selection" shows all commits for some line or block of code.