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

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners