Skip to content

Creating a GitHub Gist

James Small edited this page Feb 16, 2019 · 4 revisions
  • From your GitHub account (github.com/username) in the upper right hand corner, click on the + and select New gist: New Gist

  • Next, in the Gist description box, fill out a description of the Gist. Then, in Filename including extension box, enter a filename with an extension. Then, type/paste in your code in the numbered area. Finally, click Create public gist: Populate Gist

  • Next, click on the Embed menu and change it to Share: Share Gist

  • Next, click on the clipboard icon to the right of share to copy the link (URL): Copy Gist Link

  • Next, create a post in Canvas. Within the post you can mention that you're shaing a solution - something like, "My solution for the C++ Basic Data Types Challenge." You can then highlight this text and click the Link to URL button or use control-K. Paste in the URL/Link to the gist and share your post on Canvas: Insert Gist Link in Canvas


Back to HackerRank Repo Wiki Home

Clone this wiki locally