From 419e521de3f8a455f9b1abbb25a7ffcb1635779b Mon Sep 17 00:00:00 2001 From: typebrook Date: Fri, 8 May 2020 01:21:33 +0800 Subject: Update README --- README.md | 16 +++++++++------- 1 file 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 gist new # Create private gist with files 'foo' and 'bar' gist new -p foo bar +# Check information of your third gist +gist detail 3 # Get the path and cd to cloned repo with subshell gist 3 -# Push changes in your third gist to the remote repo -gist push 3 -# Update the description of your third gist -gist edit 3 -# Add tags to your third gist -gist tag 3 # List your gists with tags instead of URL gist tag +# Add tags to your third gist +gist tag 3 +# Update the description of your third gist +gist edit 3 +# Push changes in your third gist to the remote repo +gist push 3 # Delete gists with indices 3, 4 and 5 gist delete 3 4 5 # Or use Brace Expansion @@ -98,7 +100,7 @@ Say you delete gists with command `gist delete ...`, the local gi `~/.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). -Valid 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: +Valid 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: ``` bash # Set key with a given value gist config -- cgit v1.2.3-70-g09d2