Skip to content

Add git safety rules to copilot-instructions.md - #635

Merged
bradygaster merged 3 commits into
devfrom
squad/631-copilot-git-safety
Mar 26, 2026
Merged

Add git safety rules to copilot-instructions.md#635
bradygaster merged 3 commits into
devfrom
squad/631-copilot-git-safety

Conversation

@bradygaster

Copy link
Copy Markdown
Owner

Part of #631 — adds a Git Safety section to .github/copilot-instructions.md:

  • Bans git add . and git add -A (use explicit paths)
  • Requires feature branches + PRs for all changes
  • Pre-push checklist: verify file count, check for unintended deletions
  • Red-flag stop conditions

Prevents @copilot from accidentally staging mass deletions.

bradygaster and others added 3 commits March 26, 2026 10:14
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bradygaster
bradygaster merged commit 328e1df into dev Mar 26, 2026
3 checks passed
@bradygaster
bradygaster deleted the squad/631-copilot-git-safety branch August 8, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant