Created
February 17, 2016 23:53
-
-
Save rutgerhensel/61d06985885bbcb430e6 to your computer and use it in GitHub Desktop.
git rename directory on mac os x
This file contains hidden or 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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment