I'm jotting it down so as not to forget how to create a .gitignore later on
touch .gitignore
ex)
-
To exclude all files ending in
.log
*.log
-
To exclude any file names that contain
.log
*.log*
-
To exclude all files in a specific path
/Build/*
+
git rm -r --cached .
git add .
git commit -m "git ignore add"
git push
*.bash_history
*.gitconfig
*.python_history
.c9/
.cache/
.local/