Re:Stack Overflow Moderation Strike Update
by arp242 on Monday June 12, 2023 @07:10AM
(#36291605)
I once had a project with a "bin-name" in the gitignore, to exclude the "/bin-name" that "go build" will produce. Then I added a "dir/bin-name/file.go" which of course got excluded. The CI/CD builds failed, but it worked locally, and great confusion ensued. Since then, I've always added that leading "/" and generally try to be as specific as possible in gitignore files.
This is a great example where many people providing different answers and comments based on their different knowledge and experience provide value, opposed to just ChatGPT telling you stuff. Simply "correct" is nice, but "correct, complete, and with experience and context" is better.
This is a great example where many people providing different answers and comments based on their different knowledge and experience provide value, opposed to just ChatGPT telling you stuff. Simply "correct" is nice, but "correct, complete, and with experience and context" is better.