In SFDX, script to identify all changes made on this branch, to generate package.xml and destructiveChanges.xml
Make changes on feature branches, then merge them into a sandbox branch. This script identifies all changes made on this sandbox branch since it was created, and generates the package.xml (and destructiveChanges.xml) to push changes to the sandbox. If you are doing CI (Continuous Integration), it will let you find changes since the previous commit.
In feature branch, VS Code feature workspace, and scratch org :
- make changes on a feature branch in scratch orgs