From the course: IntelliJ IDEA Community Edition Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Share code snippets as Gists

Share code snippets as Gists

From the course: IntelliJ IDEA Community Edition Essential Training

Start my 1-month free trial

Share code snippets as Gists

- [Narrator] Git has another really useful feature that lets you take a bit of code and save it into a file that's not a part of a larger project. This is called a "Gist" or "Gist" you can pronounce it either way. And creating a gist from within IntelliJ IDEA is really simple. First of all, you have to have configured IntelliJ IDEA with your GitHub account. But then you can go to any file in the project window, right click on it and select create gist. If you like you can create a description. And I'll call this "My Person class." You can select any of these options including copy URL, and then click okay. If you select the option open in browser, after the gist has been created you will immediately go there. And if you selected the option to copy the URL, you'll be able to navigate to the gist that way as well. Once you've created your gist it will be attached to your GitHub account. And anyone who…

Contents