add file gitignore in commit code example Example: how to add filer to git ignore go to the gitignore file, add the name of the file to ignore