aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-04-08 15:08:33 +0800
committertypebrook <typebrook@gmail.com>2020-04-08 15:08:33 +0800
commit6f15da10b48fea8f15efe9fcc465451be6669717 (patch)
tree988740c7dfea0d419e64341e25ec1e31f54c4220
parentee7d3d28a8fdea410cd688a0a3f4deb5a196de7b (diff)
Update README
-rw-r--r--README.md15
1 files changed, 9 insertions, 6 deletions
diff --git a/README.md b/README.md
index 4699ae4..be5890d 100644
--- a/README.md
+++ b/README.md
@@ -259,12 +259,6 @@ gist tag tag1 | gist grep pattern1 | gist lan SHELL
259 259
260### Git Branching 260### Git Branching
261Each gist is a git repository. Although there are some limits on `git push`, like sub-directory. But guess what? Push another branch to `github.com` is allowed. So why not use this feature for your gist workflow? 261Each gist is a git repository. Although there are some limits on `git push`, like sub-directory. But guess what? Push another branch to `github.com` is allowed. So why not use this feature for your gist workflow?
262
263### Suppress action
264If [`action`](#action) is not being set, you will enter sub-shell by default. If you want suppress it and do not want to type `--no-action` every time, just use command `ture` to do nothing.
265```
266gist config action 'true'
267```
268 262
269### Useful action for gist repo 263### Useful action for gist repo
270I strongly recommend using [`tig`](https://github.com/jonas/tig) as your custom [action](#action). It is the most powerful git CLI tool as far as I know, and also easy to get in most of the Linux distros or Homebrew for mac. Give it a try! 264I strongly recommend using [`tig`](https://github.com/jonas/tig) as your custom [action](#action). It is the most powerful git CLI tool as far as I know, and also easy to get in most of the Linux distros or Homebrew for mac. Give it a try!
@@ -274,6 +268,15 @@ If [`tig`](https://github.com/jonas/tig) is installed, run the following command
274```bash 268```bash
275gist config action 'tig -all' 269gist config action 'tig -all'
276``` 270```
271`tig` interface for history diagram:
272![](https://i.imgur.com/ju37MgW.png)
273
274
275### Suppress action
276If [`action`](#action) is not being set, you will enter sub-shell by default. If you want suppress it and do not want to type `--no-action` every time, just use command `ture` to do nothing.
277```
278gist config action 'true'
279```
277 280
278### Suppress hint 281### Suppress hint
279There are several environment variables or arguments can suppress hint or user confirm, like: 282There are several environment variables or arguments can suppress hint or user confirm, like: