From 9dd25959fa94e92a08c041a75b5f1c60e08caeeb Mon Sep 17 00:00:00 2001 From: Anton Kochkov Date: Mon, 3 Aug 2020 20:36:55 +0800 Subject: [PATCH] tig: Add `tig -C` invocation tip (#1120) Co-authored-by: Rico Sta. Cruz --- tig.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tig.md b/tig.md index 16130daa9..a0d42af43 100644 --- a/tig.md +++ b/tig.md @@ -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`.