Skip to content

Instantly share code, notes, and snippets.

@ds0nt
Created July 20, 2015 12:19
Show Gist options
  • Save ds0nt/608324753cf1239dec78 to your computer and use it in GitHub Desktop.
Save ds0nt/608324753cf1239dec78 to your computer and use it in GitHub Desktop.
--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.
-a, --anonymous Create an anonymous 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
-P, --paste Paste from the clipboard to gist
-R, --raw Raw url of the new gist
-l, --list [USER] List all gists for user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment