create git ignore file package manage console code example
Example 1: create gitignore
# creates gitignore file
$ touch .gitignore
Example 2: how to add filer to git ignore
go to the gitignore file, add the name of the file to ignore
# creates gitignore file
$ touch .gitignore
go to the gitignore file, add the name of the file to ignore