Hiding Files in Public Repositories

Homepage


Guide to store files in your local directory, but hide them in your public repository. I’ve found this useful for reducing clutter in public repositories, so others have an easier time understanding your project structure.


1. Create a .gitignore file

2. Remove files

3. Update public repository