how to format a gitignore code example
Example 1: gitignroe remove folder
git rm -r --cached some-directory
git commit -m 'Remove the now ignored directory "some-directory"'
git push origin master
Example 2: .gitignore
node_modules
.DS_Store
.env
Example 3: gitignore folder
in .gitignore:
folder/
Example 4: what to add to gitignore
Look at this awesome site!
https://www.toptal.com/developers/gitignore
Generates a gitignore for you, based on the technologies you're using