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

JavaScript

Can "Git ignore" be changed?

When creating a new repository, on desktop github, there is an option "Git ignore". Can you change that setting afterwards once the repo is created, either in github web and desktop versions?

Haven't used the desktop version, but .gitignore is essentially just a file in your project directory that tells git which files to ignore when pushing or pulling. You should be able to just open it in your text editor and change it.

2 Answers

.gitignore is just a file that can be redacted anytime.

Reed the documentation git

Thanks guys, I didn't know a file was created based upon the wizard checkbox... Really starting out with git... Next time I'll check more carefully before asking!