Skip to content

Instantly share code, notes, and snippets.

View brunobertechini's full-sized avatar

Bruno Bertechini brunobertechini

  • Australia
  • 04:27 (UTC +10:00)
View GitHub Profile
#!/bin/sh
# Credits: http://stackoverflow.com/a/750191
# https://gist.github.com/bgromov/a1905055a8b9cdbeb1d2a87e70920cc8
git filter-branch -f --env-filter "
GIT_AUTHOR_NAME='John doe'
GIT_AUTHOR_EMAIL='john.doe@example.com'
GIT_COMMITTER_NAME='John doe'
GIT_COMMITTER_EMAIL='john.doe@example.com'
@brunobertechini
brunobertechini / azure-cli-appservice.sh
Last active January 27, 2022 13:17
Azure CLI Reference Commands - AppService
#!/bin/bash
RESOURCE_GROUP="myresourcegroup"
WEBAPP="mywebapp"
# Deploy files outside wwwroot
# https://docs.microsoft.com/en-us/cli/azure/webapp?view=azure-cli-latest#az-webapp-deploy
az webapp deploy \
-g $RESOURCE_GROUP \
-n $MYWEBAPP \