this post was submitted on 11 Oct 2026
452 points (98.9% liked)

Programmer Humor

33644 readers
2011 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Traister101@lemmy.today 16 points 5 days ago (1 children)

Git ignore doesn't prevent things from being committed it just prevents them from being "tracked" (for lack of a better word) by default. If you manually explicitly add the file to a commit, and then commit the file will be tracked despite matching the ignore

[โ€“] deadbeef79000@lemmy.nz 3 points 5 days ago

Yeah, poorly worded on my part.