add gitignore with git command code example
Example 1: git add gitignore
$ touch .gitignore
Example 2: what is add.gitignore
The purpose of gitignore files is to ensure that certain files not tracked by git remain untracked.
$ touch .gitignore
The purpose of gitignore files is to ensure that certain files not tracked by git remain untracked.