Skip to content

Instantly share code, notes, and snippets.

@Fuzss
Forked from mezz/create_gist.md
Last active May 30, 2022 17:16
Show Gist options
  • Save Fuzss/bb307f86159b0011fcc2e10364a1b0a7 to your computer and use it in GitHub Desktop.
Save Fuzss/bb307f86159b0011fcc2e10364a1b0a7 to your computer and use it in GitHub Desktop.
Creating a Gist and getting the URL

Gist is a service hosted by GitHub that lets you paste unlimited amounts of text if you have a GitHub account.
This document explains how to create a Gist from a text document so that you can share it with others.

Basic Instructions

  1. Copy-paste the contents of the text file to the large text box on https://gist.github.com
  2. Create a public gist and copy the browser's url.

Detailed Instructions

  1. Open the text file so that you can view the text.
  2. Select all the text from the text file.
    (use the hotkey combo Ctrl+A on Windows and Linux, or Cmd+A on Mac).
  3. Copy all the selected text to your clipboard.
    (use the hotkey combo Ctrl+C on Windows and Linux, or Cmd+C on Mac).
  4. Open https://gist.github.com to start creating a new gist.
  5. Paste the text into the large text box
    (use the hotkey combo Ctrl+V on Windows and Linux, or Cmd+V on Mac).
  6. Click "Create public gist" (you may have to select that option from a dropdown menu next to "Create secret gist").
  7. Select the text in your web browser's address bar.
    (use the hotkey combo Ctrl+L on Windows and Linux, or Cmd+L on Mac).
  8. Copy the URL to your new gist from your web browser's address bar.
    (use the hotkey combo Ctrl+C on Windows and Linux, or Cmd+C on Mac).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment