Skip to content

Instantly share code, notes, and snippets.

@davidroyer
Created June 30, 2018 15:44
Show Gist options
  • Save davidroyer/83e8e90cff3e34d614dc49d5c7c80278 to your computer and use it in GitHub Desktop.
Save davidroyer/83e8e90cff3e34d614dc49d5c7c80278 to your computer and use it in GitHub Desktop.
Removes directories that are on remote even though they are being ignore locally
git rm -r --cached dir1 dir2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment