close
The Wayback Machine - https://web.archive.org/web/20220127102236/https://github.blog/changelog/2021-09-20-quickly-copy-the-contents-of-a-file-to-the-clipboard/

Quickly copy the contents of a file to the clipboard

September 20, 2021

You can now copy the full, raw contents of a file in your repository to the clipboard with just one click. Previously, you would need to open the raw file, select all, and then copy.

To copy the contents of a file, navigate to the file and click the Copy raw contents button on the toolbar:


This feature is available in most desktop web browsers.

Learn more about working with files.