Skip to content

Instantly share code, notes, and snippets.

@jckantor
Last active May 20, 2019 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jckantor/71c8a93066902602cd23cbd590c9e6fa to your computer and use it in GitHub Desktop.
Save jckantor/71c8a93066902602cd23cbd590c9e6fa to your computer and use it in GitHub Desktop.
Remove remote directory after adding to .gitignore
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