Closed szepeviktor closed 11 months ago
Only technologies used in this project should be listed in the repository.
# Dependencies
NPM stuff
# Application
Web stuff
# Tests
If there are tests ...
# Distribution
Files used for deploying this website
I don't understand this. What is the problem with the .gitignore file?
What is the problem with the .gitignore file?
It tries to cover every OS, every IDE and every local environment. That is impossible 💥
All contributors should have their stuff ignored locally in ~/.gitignore
.
The project's .gitignore
file should cover only the project's ignored files.
🎈 It will be big Fun! Trust me.
Ahh, I get it and have a gif for this: https://media.giphy.com/media/bWM2eWYfN3r20/giphy.gif
This is a single ~/.gitignore
file, you have to create once in your life.
git config --global core.excludesFile ~/.gitignore
A single .gitignore file cannot cover every OS, every IDE and every local environment. List your gitignores in a file:
~/.gitignore
git config --global core.excludesFile ~/.gitignore
will ignore all your local files in every project once and for all 🎉