From 6f15da10b48fea8f15efe9fcc465451be6669717 Mon Sep 17 00:00:00 2001 From: typebrook Date: Wed, 8 Apr 2020 15:08:33 +0800 Subject: Update README --- README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'README.md') 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 ### Git Branching Each 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? - -### Suppress action -If [`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. -``` -gist config action 'true' -``` ### Useful action for gist repo I 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 ```bash gist config action 'tig -all' ``` +`tig` interface for history diagram: +![](https://i.imgur.com/ju37MgW.png) + + +### Suppress action +If [`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. +``` +gist config action 'true' +``` ### Suppress hint There are several environment variables or arguments can suppress hint or user confirm, like: -- cgit v1.2.3-70-g09d2