.gitignore
99% of
.gitignore
files should not be handwritten.
RULE: always use a .gitignore
file in a repository.
https://www.gitignore.io/ is your friend. An example for web/javascript development, enter/select:
- node
- visualstudiocode
- angular
- macos
- grunt
Use the output for the starting point of a .gitignore
file.