Created
July 26, 2013 09:55
-
-
Save stephen-james/6087699 to your computer and use it in GitHub Desktop.
remove folders on remote repo http://stackoverflow.com/questions/7927230/remove-directory-from-remote-repository-after-adding-them-to-gitignore
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
git rm -r --cached some-directory | |
git commit -m 'Remove the now ignored directory "some-directory"' | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment