mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-19 22:15:14 +00:00
Update agent to never git add all
This commit is contained in:
parent
f5d23e74dc
commit
05df1cd3bb
1 changed files with 2 additions and 0 deletions
2
AGENT.md
2
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 <specific-file>` or `git add <directory>/` for targeted commits
|
||||
|
||||
## Code Style (rubocop-rails-omakase)
|
||||
- **Naming**: snake_case files/methods/vars, PascalCase classes, 2-space indent
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue