mirror of
https://github.com/danog/gift.git
synced 2024-11-26 20:04:47 +01:00
Merge pull request #30 from frk1705/readmeStatus
Add missing status.type cases to README
This commit is contained in:
commit
881ff74b27
13
README.md
13
README.md
@ -254,7 +254,18 @@ the file is staged, tracked, etc.
|
||||
|
||||
Each file has the following properties:
|
||||
|
||||
* `type` - "A" for added, "M" for modified, "D" for deleted.
|
||||
* `type` which translates to:
|
||||
|
||||
| _type_ | index | working tree |
|
||||
| :--- | :-------: | :-----------:|
|
||||
| `A ` | added | - |
|
||||
| `M ` | modified | - |
|
||||
| `D ` | deleted | - |
|
||||
| `AM` | added | modified |
|
||||
| `MM` | modified | modified |
|
||||
| `AD` | staged | deleted |
|
||||
| `MD` | modified | deleted |
|
||||
|
||||
* `staged` - `Boolean`
|
||||
* `tracked` - `Boolean`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user