From 05df1cd3bbf63b3ede57e6b766c07d9e8018f516 Mon Sep 17 00:00:00 2001 From: Max Wofford Date: Wed, 11 Jun 2025 02:32:11 -0400 Subject: [PATCH] Update agent to never git add all --- AGENT.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AGENT.md b/AGENT.md index 042f930..533be86 100644 --- a/AGENT.md +++ b/AGENT.md @@ -24,6 +24,8 @@ ## Git Practices - **NEVER commit `config/database.yml`** unless explicitly asked to - contains sensitive local/production database credentials +- **NEVER use `git add .`** - always add files individually to avoid accidentally committing unwanted files +- Use `git add ` or `git add /` for targeted commits ## Code Style (rubocop-rails-omakase) - **Naming**: snake_case files/methods/vars, PascalCase classes, 2-space indent