Skip to content

Instantly share code, notes, and snippets.

@osterhoutan
Last active August 19, 2020 22:12
Show Gist options
  • Save osterhoutan/1355f33375eba81631ad5f316fbc42fb to your computer and use it in GitHub Desktop.
Save osterhoutan/1355f33375eba81631ad5f316fbc42fb to your computer and use it in GitHub Desktop.
Instructions for how to save individual text files from GitHub.

Save a single file from GitHub:

  1. Select the file in the directory to view it like you normally would.
  2. Click the "raw" button (like you did), to get the "raw" form of the text file sent to your machine
    • The "raw" button is usually the left-most option of the 4-8 button located in the top right of the file preview applet image of raw button
    • This directs you to a URL where instead of a HTML file containing a web-page is sent to your browser to view, it jsut sends the file itself.
      Which your browser will display as plaintext, like a read-only text editor, but once again this is not a webpage this is the actual file.
  3. Either press ctrl+s (cmd+s) or Right click and select the "Save as.." option image of save as option
  4. Save the file as you normally would!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment