Bagaimana cara mengabaikan
git reset name_of_file
Chagai Friedlander
git reset name_of_file
git rm -r --cached some-directory
git commit -m 'Remove the now ignored directory "some-directory"'
git push origin master
git rm -r --cached .
$ touch .gitignore
node_modules
.DS_Store
.env
$ echo debug.log >> .gitignore
$ git rm --cached debug.log
rm 'debug.log'
$ git commit -m "Start ignoring debug.log"