Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ChristopherHButler/65c441b9bae5dc1b82dad60e1c1c2211 to your computer and use it in GitHub Desktop.
Save ChristopherHButler/65c441b9bae5dc1b82dad60e1c1c2211 to your computer and use it in GitHub Desktop.

How to do a case sensitive file rename in git on macOS

mv Folder folder1
git stage .
mv folder1 folder
git stage .
git add .
git commit -a -m ":commit_message"

or simply

git mv app.js App.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment