From the course: GitHub Quick Tips

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Share code with gists

Share code with gists - GitHub Tutorial

From the course: GitHub Quick Tips

Share code with gists

- [Instructor] If you have a GitHub account, you also get this cool code-sharing project called Gists. You can get to them by going to gist.GitHub.com/username. Now to create a Gist, you can hit the plus sign, just like you would for a new project, and it takes you to this page. You can also get to this page by just typing in gist.new, that's a quick shortcut. And here, you can create secret, as well as public gists. And type in a description. Then you want to type in some sort of file name. And then you can type in some code. The extension of the file name will determine how color coding will work for your gist. We'll hit on create public gist, and that gist will now be something that you can send a link to. Now, notice that you can edit the gists right here. And also delete, but you can also star and comment on gists, by leaving comments right here. Just like repos, they can also be cloned, forked, and have a history.…

Contents