this post was submitted on 25 Apr 2024
677 points (97.3% liked)

Programmer Humor

19386 readers
345 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] lars@lemmy.sdf.org 29 points 5 months ago (4 children)

Do I really have to escape my dots in a .gitignore?

[–] Ephera@lemmy.ml 28 points 5 months ago* (last edited 5 months ago)

I really don't think so. The documentation says nothing of the like.

Maybe someone thought it's a regex pattern, where escaping dots would make sense. But yeah, it mostly works like glob patterns instead.

[–] vox@sopuli.xyz 4 points 5 months ago
[–] Lobreeze@lemmy.world 3 points 5 months ago
[–] brlemworld@lemmy.world 3 points 5 months ago

Also don't need trailing slash