diff options
author | typebrook <typebrook@gmail.com> | 2020-04-08 15:08:33 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-04-08 15:08:33 +0800 |
commit | 6f15da10b48fea8f15efe9fcc465451be6669717 (patch) | |
tree | 988740c7dfea0d419e64341e25ec1e31f54c4220 | |
parent | ee7d3d28a8fdea410cd688a0a3f4deb5a196de7b (diff) |
Update README
-rw-r--r-- | README.md | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -259,12 +259,6 @@ gist tag tag1 | gist grep pattern1 | gist lan SHELL | |||
259 | 259 | ||
260 | ### Git Branching | 260 | ### Git Branching |
261 | 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? | 261 | 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? |
262 | |||
263 | ### Suppress action | ||
264 | 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. | ||
265 | ``` | ||
266 | gist config action 'true' | ||
267 | ``` | ||
268 | 262 | ||
269 | ### Useful action for gist repo | 263 | ### Useful action for gist repo |
270 | 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! | 264 | 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 | |||
274 | ```bash | 268 | ```bash |
275 | gist config action 'tig -all' | 269 | gist config action 'tig -all' |
276 | ``` | 270 | ``` |
271 | `tig` interface for history diagram: | ||
272 |  | ||
273 | |||
274 | |||
275 | ### Suppress action | ||
276 | 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. | ||
277 | ``` | ||
278 | gist config action 'true' | ||
279 | ``` | ||
277 | 280 | ||
278 | ### Suppress hint | 281 | ### Suppress hint |
279 | There are several environment variables or arguments can suppress hint or user confirm, like: | 282 | There are several environment variables or arguments can suppress hint or user confirm, like: |