• iwasgodonce@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    It’s the worst trying to use git on a capitalization insensitive filesystem, like on mac’s default.

    mv DockerFile Dockerfile

    git says there are no changes.

    Had to

    git mv DockerFile Dockerfile1

    git commit -am “rename file”

    git mv Dockerfile1 Dockerfile

    git commit -am f

    git rebase -i origin/master

    and squash the last 2 commits together

    I ended up making a new volume on my mac specifically to hold git repos that was capitalization sensitive so I don’t have to deal with that shit.