aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-05-08 01:21:33 +0800
committertypebrook <typebrook@gmail.com>2020-05-08 11:57:16 +0800
commit419e521de3f8a455f9b1abbb25a7ffcb1635779b (patch)
tree5afc6c5f0b201d2fb4f0bbc5b54e0c8c1120592e
parentfd28bccdac32c670b7a94469d5fbd7b84caea853 (diff)
Update README
-rw-r--r--README.md16
1 files changed, 9 insertions, 7 deletions
diff --git a/README.md b/README.md
index 6b4812b..5058b0e 100644
--- a/README.md
+++ b/README.md
@@ -28,16 +28,18 @@ gist
28gist new 28gist new
29# Create private gist with files 'foo' and 'bar' 29# Create private gist with files 'foo' and 'bar'
30gist new -p foo bar 30gist new -p foo bar
31# Check information of your third gist
32gist detail 3
31# Get the path and cd to cloned repo with subshell 33# Get the path and cd to cloned repo with subshell
32gist 3 34gist 3
33# Push changes in your third gist to the remote repo
34gist push 3
35# Update the description of your third gist
36gist edit 3
37# Add tags to your third gist
38gist tag 3
39# List your gists with tags instead of URL 35# List your gists with tags instead of URL
40gist tag 36gist tag
37# Add tags to your third gist
38gist tag 3
39# Update the description of your third gist
40gist edit 3
41# Push changes in your third gist to the remote repo
42gist push 3
41# Delete gists with indices 3, 4 and 5 43# Delete gists with indices 3, 4 and 5
42gist delete 3 4 5 44gist delete 3 4 5
43# Or use Brace Expansion 45# Or use Brace Expansion
@@ -98,7 +100,7 @@ Say you delete gists with command `gist delete <index-of-gist>...`, the local gi
98 100
99`~/.config/gist.conf` is created automatically when you run `gist` at the first time, it only allows current user to read and write (permission 600). 101`~/.config/gist.conf` is created automatically when you run `gist` at the first time, it only allows current user to read and write (permission 600).
100 102
101Valid keys are [`user`](#user), [`token`](#token), [`folder`](#folder), [`auto_sync`](#auto_sync), [`action`](#action), [`EDITOR`](#EDITOR) and [`protocol`](#protocol) [`show_untagged`](#show_untagged). Use the following commands to set value: 103Valid keys are [`user`](#user), [`token`](#token), [`folder`](#folder), [`auto_sync`](#auto_sync), [`action`](#action), [`EDITOR`](#EDITOR), [`protocol`](#protocol) and [`show_untagged`](#show_untagged). Use the following commands to set value:
102``` bash 104``` bash
103# Set key with a given value 105# Set key with a given value
104gist config <key> <value> 106gist config <key> <value>