Page tree
Skip to end of metadata
Go to start of metadata

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 title (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 (only visible to you and those who you've given explicit permission), or public (visible to any logged in Swarthmore community member).