Last active
December 10, 2015 12:39
-
-
Save aroemen/4435774 to your computer and use it in GitHub Desktop.
Used to change the case in a directory for a Git repository.
Or use this config command `git config core.ignorecase false`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mv foo foo2 | |
git add -A | |
git commit -m "renaming" | |
mv foo2 FOO | |
git add -A | |
git commit --amend -m "renamed foo to FOO" | |
# or in git v1.7.7+ | |
git mv improper_Case improve_case2 | |
git mv improper_case2 improve_case | |
git commit -m "<your message>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment