2018-09-06 23:09:06 +01:00
|
|
|
# tig
|
|
|
|
|
2024-04-03 05:56:24 +01:00
|
|
|
> A configurable `ncurses`-based TUI for Git.
|
|
|
|
> See also: `gitui`, `git-gui`.
|
|
|
|
> More information: <https://jonas.github.io/tig/doc/manual.html>.
|
2018-09-06 23:09:06 +01:00
|
|
|
|
|
|
|
- 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:
|
|
|
|
|
2022-10-20 15:32:07 +01:00
|
|
|
`tig {{path1 path2 ...}}`
|
2018-09-06 23:09:06 +01:00
|
|
|
|
|
|
|
- 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`
|
2024-04-03 05:56:24 +01:00
|
|
|
|
|
|
|
- Display help in TUI:
|
|
|
|
|
|
|
|
`h`
|