This gist contains multiple files. Each file contains a specific type of Apex or Visualforce comment header.
When code is no longer used, but can not be deleted from your org, add the @deprecated
annotation to the File or Method Header.
This gist contains multiple files. Each file contains a specific type of Apex or Visualforce comment header.
When code is no longer used, but can not be deleted from your org, add the @deprecated
annotation to the File or Method Header.
#!/bin/sh | |
# | |
# author : benahm | |
# description : deploy a destructive change | |
#function to exit after input validations | |
die () { | |
echo >&2 "$@" | |
exit 1 | |
} |
Description | Git Command |
---|---|
Clone an existing repository | git clone "your URL" |
Create a new local repository | git init |
Changed files in your working directory | git status |
Changes to tracked files | git diff |
Add all current changes to the next commit | git add |
Add some chang |
#!/bin/sh | |
# | |
# Generate a full package xml using the Salesforce CLI | |
# Requirements : | |
# * Salesforce CLI | |
# * jq | |
| | Salesforce CLI | ANT Migration tool | | |
|--------------------|------------------------------------|-----------------------------------| | |
| Security | Authorization credentials need not | Authorization credentials need to | | |
| | be saved to file | be saved on file | | |
| Team Collaboration | Easier collaboration via scratch | Prevents collaboration on related | | |
| | orgs and artifacts | metadata items | | |
| Commands | Wide range of commands and finer | Limited set of commands | | |
| | control | | | |
| Version Updates | Automatic/click of button | Needs some manual steps | |