Skip to content

Instantly share code, notes, and snippets.

@weichenghsu
Last active November 1, 2017 18:04
Show Gist options
  • Save weichenghsu/515a3bfc3a96e6c52d416d022ce02707 to your computer and use it in GitHub Desktop.
Save weichenghsu/515a3bfc3a96e6c52d416d022ce02707 to your computer and use it in GitHub Desktop.
salesforce command line snippet

discard conflict

both modified: src/classes/PortalComponentStructureJSONTest.cls

git reset HEAD src/classes/PortalComponentStructureJSONTest.cls

ack -lr --print0 <ORIG_TEXT> | xargs -0 sed -i '' -e 's/<ORIG_TEXT>/<NEW_TEXT>/g'

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