mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Git: added para for gitignore
This commit is contained in:
parent
6611db502a
commit
7b7ce666b6
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user