Skip to content

Instantly share code, notes, and snippets.

@etc-tiago
Created June 27, 2021 01:44
Show Gist options
  • Save etc-tiago/95c6543fc7b77817714d907980b077ee to your computer and use it in GitHub Desktop.
Save etc-tiago/95c6543fc7b77817714d907980b077ee to your computer and use it in GitHub Desktop.
Way to alert me to not commit on master/main directly
  1. Install teledemic.branch-warnings on vscode
  2. Add on .vscode/settings.json:
{
	"branchwarnings.protectedBranches": ["main"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment