Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Keeping data safe on Git

Does anybody have any suggestions for how to keep passwords/API keys and such safe when you are pushing your project to GitHub? It's a project that I'm probably going to want to make public at some point, and I want to be sure that my config file is kept safe, but I also want to be able to pull the full project down on my work and home computers and pull changes.

2 Answers

Ooh! I knew about gitignore, but not the option to ignore by presuming files are unchanged! This looks like exactly what I need to do, once I make the project public. Thanks!