Skip to content

Instantly share code, notes, and snippets.

@Xtremefaith
Last active December 30, 2015 04:59
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 Xtremefaith/7779211 to your computer and use it in GitHub Desktop.
Save Xtremefaith/7779211 to your computer and use it in GitHub Desktop.
Developing locally? Here's a quick snippet for ignoring your local wp-config.php settings

Developing locally? Here's a quick snippet for ignoring your local wp-config.php settings

git update-index --assume-unchanged -- wp-config.php

Thanks to Linquize: http://stackoverflow.com/a/14513920/1058371

####Use on other settings files as well

git update-index --assume-unchanged -- wp-content/sftp-config.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment