VPS 2021 年 12 月 25 日
vps使用gist上传代码
vps使用gist上传代码 这篇文章围绕「vps使用gist上传代码」整理了可直接落地的步骤,适合按顺序操作并逐项验证结果。 <! more 以下教程适用于debian: 1. 在 申请MY TOKEN,勾选gist权限 2. 3. 4. gist paste命令使用方式:。
vps使用gist上传代码
这篇文章围绕「vps使用gist上传代码」整理了可直接落地的步骤,适合按顺序操作并逐项验证结果。
以下教程适用于debian:
- 在github申请MY_TOKEN,勾选gist权限
apt install gist -yumask 0077 && echo MY_TOKEN > ~/.gist- gist-paste命令使用方式:
Usage: gist-paste [-o|-c|-e] [-p] [-s] [-R] [-d DESC] [-u URL]
[--skip-empty] [-P] [-f NAME|-t EXT]* FILE*
gist-paste --login
gist-paste [-l|-r]
--login Authenticate gist on this computer.
-f, --filename [NAME.EXTENSION] Sets the filename and syntax type.
-t, --type [EXTENSION] Sets the file extension and syntax type.
-p, --private Makes your gist private.
--no-private
-d, --description DESCRIPTION Adds a description to your gist.
-s, --shorten Shorten the gist URL using git.io.
-u, --update [ URL | ID ] Update an existing gist.
-c, --copy Copy the resulting URL to the clipboard
-e, --embed Copy the embed code for the gist to the clipboard
-o, --open Open the resulting URL in a browser
--no-open
--skip-empty Skip gisting empty files
-P, --paste Paste from the clipboard to gist
-R, --raw Display raw URL of the new gist
-l, --list [USER] List all gists for user
-r, --read ID [FILENAME] Read a gist and print out the contents
--delete [ URL | ID ] Delete a gist
-h, --help Show this message.
-v, --version Print the version.
相关文章
版权声明:自由转载-非商用-非衍生-保持署名(创意共享4.0许可证)
作者:OB 发表日期:2021 年 12 月 25 日