681
submitted 1 year ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 29 points 1 year ago

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

[-] [email protected] 28 points 1 year ago* (last edited 1 year 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.

[-] [email protected] 3 points 1 year ago
[-] [email protected] 3 points 1 year ago

Also don't need trailing slash

this post was submitted on 25 Apr 2024
681 points (97.4% liked)

Programmer Humor

24648 readers
14 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 2 years ago
MODERATORS