Today I learned that...
Pushing API keys to GitHub accidentally is way more common than I thought — and it happened to me twice while building my AI travel chatbot! 😅
The fix is simple but easy to forget:
# .gitignore .env
.env file
GEMINI_API_KEY=your_key_here
This was useful because...It saved my Gemini API key from being exposed publicly. Always add .env to .gitignore BEFORE your first commit — not after!
No responses yet.