Effective PyCharm Transcripts
Chapter: Source control
Lecture: Quick gist

Login or purchase this course to watch this video and the rest of the course contents.
0:01 The final little tidbit of source control that I want to touch on is github gist. So github gists are not proper repositories
0:10 but they're sort of tracked and managed individual files that demonstrate something interesting.
0:15 You can use these to show off something, to share a cool technique or even ask for help like create a github gist
0:22 maybe refer to it in stack overflow or somewhere in a forum, right. So it's not the whole repository, it's just one file.
0:31 So we can actually do that from within PyCharm, let's suppose this little downloading service is so amazing I want to share it,
0:38 hint— it's not, but let's suppose we want to share this, we go over here we can go to the very bottom and say either open it on github,
0:48 which is just to view it on github, or create a gist. So I can say this is an amazing Talk Python title downloader thing,
0:58 you can make it anonymous or make it public, keep it private so leave that just the way to is, I don't really care.
1:07 Wait a second and boom— see how amazing this is, this is really amazing. And down here you can see this is the code that we wrote
1:18 and it just automatically created a github gist, I could say yeah, pretty darn amazing.
1:24 So we can comment on it, just all the standard git stuff that you do. So we could even come down here and star it,
1:35 we can create additional revisions if we make changes, all that kind of stuff. So if it wasn't mine I think I could even fork it.
1:42 All right, so super simple thing, create a github gist, but, pretty cool.


Talk Python's Mastodon Michael Kennedy's Mastodon