Category: git, git

This has caused me trouble in the past after deploying my code to an Ubuntu server. If you rename a file on Mac, git won’t pick up any changes if you only change the case. macOS displays the newly-cased filename, but git doesn’t see any changes. In the past I’ve worked around this by doing two commits: one to change it to a different filename entirely, and then another to what it should be.

If you use the git mv command to rename the file, git picks it up correctly.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners