From 863f10dc77f9d6ebcd4a2f77d4f95079ccc53cc6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 5 Dec 2025 07:49:22 +0000 Subject: [PATCH] docs: Improve .gitignore fix instructions in Pitfall #72 Co-authored-by: mindesbunister <32161838+mindesbunister@users.noreply.github.com> --- .github/copilot-instructions.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 5688af0..8830ae0 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -5799,10 +5799,10 @@ trade.realizedPnL += actualRealizedPnL // NOT: result.realizedPnL from SDK * `.env.telegram-bot` - Removed from git tracking (contains bot token) - **Fix Process (Dec 5, 2025):** ```bash - # 1. Update .gitignore first - echo ".env" >> .gitignore - echo ".env.local" >> .gitignore - echo ".env.*.local" >> .gitignore + # 1. Update .gitignore first (add these lines if not present) + # .env + # .env.local + # .env.*.local # 2. Remove from git tracking (keeps local file) git rm --cached .env