Replace sensitive information before committing PowerShell scripts using Git Clean and Smudge Filters
The git filter option isn’t well documented, but its very useful for removing sensitive information you don’t want appearing in your public repo. This post provides an example of replacing the Azure TenantID and AppID with dummy values during the git commit process for a PowerShell script. ...