mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 12:06:00 +02:00
tig: add page (#2303)
This commit is contained in:
parent
10e16ab523
commit
0012483eaa
1 changed files with 27 additions and 0 deletions
27
pages/common/tig.md
Normal file
27
pages/common/tig.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# tig
|
||||
|
||||
> A text-mode interface for Git.
|
||||
|
||||
- Show the sequence of commits starting from the current one in reverse chronological order:
|
||||
|
||||
`tig`
|
||||
|
||||
- Show the history of a specific branch:
|
||||
|
||||
`tig {{branch}}`
|
||||
|
||||
- Show the history of specific files or directories:
|
||||
|
||||
`tig {{path1}} {{path2}} ...`
|
||||
|
||||
- Show the difference between two references (such as branches or tags):
|
||||
|
||||
`tig {{base_ref}}..{{compared_ref}}`
|
||||
|
||||
- Display commits from all branches and stashes:
|
||||
|
||||
`tig --all`
|
||||
|
||||
- Start in stash view, displaying all saved stashes:
|
||||
|
||||
`tig stash`
|
Loading…
Add table
Reference in a new issue