tig: Add `tig -C` invocation tip (#1120)

Co-authored-by: Rico Sta. Cruz <rstacruz@users.noreply.github.com>
This commit is contained in:
Anton Kochkov 2020-08-03 20:36:55 +08:00 committed by GitHub
parent 18b09de08b
commit 9dd25959fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

3
tig.md
View File

@ -21,7 +21,7 @@ $ sudo apt install tig
### Invocation
| Command | Description |
| --- | --- |
| ------------------- | -------------------------------------------- |
| `tig` | |
| --- | --- |
| `tig status` | Status |
@ -31,6 +31,7 @@ $ sudo apt install tig
| `tig test..master` | Show difference between two branches |
| `tig FILE` | Show history of file |
| `tig v0.0.3:README` | Show contents of file in a specific revision |
| `tig -C /repo/path` | Run in dir `/repo/path` (like `git -C`) |
You can substitute `git log``tig`.