Git: added para for gitignore

This commit is contained in:
Ayush 2015-10-06 00:45:40 +05:30
parent 6611db502a
commit 7b7ce666b6

View File

@ -144,6 +144,16 @@ $ git commit --help
$ git init --help $ git init --help
``` ```
### ignore (set of) files
To intentionally untrack file(s) & folder(s) from git. Typically meant for
private & temp files which would otherwise be shared in the repository.
```bash
$ echo "temp/" >> .gitignore
$ echo "private_key" >> .gitignore
```
### status ### status
To show differences between the index file (basically your working copy/repo) To show differences between the index file (basically your working copy/repo)