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:
5
PROTECTED_BRANCHES.md
Normal file
5
PROTECTED_BRANCHES.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Protected Branches
|
||||
|
||||
- `main`
|
||||
- `dev`
|
||||
- `demo/**`
|
||||
Reference in New Issue
Block a user