Jump to content

Using GitHub Enterprise Gist

From Swarthmore Knowledge Base
Revision as of 19:23, 7 May 2026 by Aruethe2 (talk | contribs) (Created page with "GitHub Enterprise has a feature called Gist, which can be used for sharing snippets of code with Swarthmore community members. Using Gist to share a code snippet is superior to sharing by other methods because the code is automatically version controlled and able to be forked by collaborators. = Getting Started = # Visit [https://github.swarthmore.edu/gist/ https://github.swarthmore.edu/gist/] # Log in with your Swarthmore network credentials # You will be taken to a p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

GitHub Enterprise has a feature called Gist, which can be used for sharing snippets of code with Swarthmore community members. Using Gist to share a code snippet is superior to sharing by other methods because the code is automatically version controlled and able to be forked by collaborators.

Getting Started

  1. Visit https://github.swarthmore.edu/gist/
  2. Log in with your Swarthmore network credentials
  3. You will be taken to a page for creating new Gist
  4. Give your Gist a description
  5. Give your Gist a filename (and file extension if you'd like to have proper syntax highlighting)
  6. Add your code snippet to the large copy area
  7. Choose whether to make your Gist secret (hidden but available to any logged in Swarthmore community members who have the share URL), or public (visible to any logged in Swarthmore community member).