Created
January 18, 2019 13:35
-
-
Save sarvar/645d63e71c3e0c9a3e5e59adcc2e5ac7 to your computer and use it in GitHub Desktop.
Remove directory from remote repository after adding them to .gitignore
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
| git rm -r --cached node_modules | |
| git commit -m 'Remove the now ignored directory node_modules' | |
| git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment