Skip to content

Instantly share code, notes, and snippets.

@cmbirk
Last active October 13, 2015 20:27
Show Gist options
  • Save cmbirk/4251267 to your computer and use it in GitHub Desktop.
Save cmbirk/4251267 to your computer and use it in GitHub Desktop.
Git Ignore Locally removed directory (wp-admin)
find wp-admin -type f -print0 | git update-index --assume-unchanged -z --stdin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment