Update ignoring-files.md
Clarified that a successful "touch .gitignore" gives no output.
This commit is contained in:
committed by
GitHub
parent
6360186728
commit
d74f46139a
@@ -27,6 +27,7 @@ GitHub maintains an official list of recommended *.gitignore* files for many pop
|
||||
$ touch .gitignore
|
||||
```
|
||||
|
||||
If the command succeeds, it won't output anything.
|
||||
For an example *.gitignore* file, see "[Some common .gitignore configurations](https://gist.github.com/octocat/9257657)" in the Octocat repository.
|
||||
|
||||
If you want to ignore a file that is already checked in, you must untrack the file before you add a rule to ignore it. From your terminal, untrack the file.
|
||||
|
||||
Reference in New Issue
Block a user