• squaresinger@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    12 hours ago

    Yeah, as soon as the question could be interpreted as leading, it will directly follow your lead.

    I had a weird issue with Github the other day, and after Google and the documentation failed me, I asked ChatGPT as a last-ditch effort.

    My issue was that some file that really can’t have an empty newline at the end had an empty newline at the end, no matter what I did to the files before committing. I figured, that something was adding a newline and ChatGPT confirmed that almost enthusiastically. It was so sure that Github did that and told me that it’s a frequent complaint.

    Turns out, no, it doesn’t. All that happened is that I first committed the file with an empty newline by accident, and Github raw files has a caching mechanism that’s set to quite a long time. So all I had to do was to just wait for a bit.

    Wasted about an hour of my time.