Add clean-branches make target and docs

Document dataconnect environment options and add branch-cleaning tooling. Adds PROTECTED_BRANCHES.md listing protected branches (main, dev, demo/**). Updates Makefile help text to show ENV defaults for dataconnect targets, new bootstrap/backup/validation commands, and a tip about default ENV. Adds a new clean-branches .PHONY target in makefiles/tools.mk that validates the current branch, reads PROTECTED_BRANCHES.md, prompts for confirmation, switches to dev if necessary, and deletes non-protected local branches while reporting a summary.
This commit is contained in:
Achintha Isuru
2026-02-06 13:40:28 -05:00
parent 543d800635
commit 964b872ee1
3 changed files with 56 additions and 11 deletions

5
PROTECTED_BRANCHES.md Normal file
View File

@@ -0,0 +1,5 @@
# Protected Branches
- `main`
- `dev`
- `demo/**`