Up and Running with Git Transcripts
Chapter: Tips and fixing mistakes
Lecture: Tip: Customize your GitHub repository's features

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Next tip is customizing your GIT hub repository features.
0:05 Can not git features but git hub features.
0:08 Nonetheless, it makes your GIT repository better and let's check it out.
0:11 We're over here in our funny web.
0:13 This is our web app that tells jokes this is the one that we started with
0:17 Not our rock paper scissor but the other one.
0:19 And notice all these things across the top here.
0:21 So are funny web repository supports issues.
0:24 So I could come along here and say oh I'm having a problem with this.
0:28 Funny web. The jokes aren't funny fix it.
0:32 It also has support for pull requests.
0:34 Git hub actions. These are like continuous integration and other automation automatically formatted and so
0:40 on the code. We have projects which allow us to do can bond boards,
0:44 we can have a wiki we can have security stuff.
0:47 One thing we don't have is discussions which sometimes discussions might be nice now in this
0:55 particular repository it's purpose is not to be a product,
1:00 an app, a library or anything like that.
1:02 It's supposed to be a detail that we give you as part of taking this course
1:07 And so it's not really meant to change for the same reasons.
1:10 For example having a wiki doesn't make any sense.
1:13 Having projects we're not going to manage it over time where like oh we're going to
1:18 do a new sprint. Here's the features we're adding.
1:20 No we don't want that. So we can actually go through and change some things
1:24 about it that are you know,
1:25 make it more appropriate for its intended purpose.
1:28 First of all it's private. We want to make that public.
1:30 So let's just go over to the settings section.
1:34 You can rename it. That's not a good idea.
1:36 If anyone's cloned it or you want to keep a checked out clone,
1:41 you can give it a social image of people share it.
1:43 It looks nice. We're not going to do that,
1:45 but here's some of those features.
1:47 It doesn't make sense for it to be a wiki.
1:49 So we're gonna take that away.
1:50 If somebody finds an actual bug with it,
1:53 they could submit an issue but I don't really want them to submit it here.
1:57 I want them to submit it,
1:59 you know, back maybe to the course repository which we're linking to this one from
2:04 as you will see. So I'm going to turn off issues hey people could pay
2:08 us for it but they're not going to that doesn't make sense.
2:11 Projects. Again, we're not going to do sprints but maybe we'll allow people to
2:14 have a discussion like a little discussion forum type thing.
2:19 Alright. Those are all good.
2:21 We're going to allow prs I guess we can allow PRS and we can go through
2:25 and set some other things and here for example,
2:28 large file system stuff and we could transfer it but we're going to make it public
2:34 as well. We're going to make public and it says you have to type the
2:37 name which I'm doing. Anyone can fork your repository changes will be published and you
2:46 make it private again. You lose some stuff that could have happened while it was
2:50 public, but that's fine. Put in my password and here we go now.
2:54 It's public. And if we go back notice we have prs discussions.
2:59 No more wiki, no more projects.
3:02 No more issues. Because it doesn't make sense for this one.
3:06 I'm gonna maybe edit some more details on the read me to point people back to
3:10 the main course repository just so they can link back and say if you have issues
3:14 or problems, you know, talk about it in a central location over there.
3:18 Not that I think they will.
3:20 If you have one of these repositories,
3:22 be sure to go through the settings and turn the features on and off.
3:25 That makes sense. For example,
3:28 on some of our course repositories before git hub,
3:31 started offering discussions as a feature.
3:34 We would get students who were stuck on a problem file an issue against the repository
3:39 That doesn't make any sense.
3:42 So filing an issue says there's a thing that is wrong with this code or there's
3:47 a feature that needs to be added.
3:49 That was not what they were asking for.
3:50 They were saying. I can't get this to run on my machine because I have
3:54 python 3.5. Like well because it requires python 36.
3:57 That's not an issue with the code and yet there was no space for them to
4:00 have that discussion separate. Right?
4:03 There was no space like we'll issue is the only place they can file stuff,
4:06 so here's a bug. I can't do it.
4:09 All right. So you want to make sure like you want to let them have
4:12 discussions, then turn on the discussion thing.
4:14 And if you don't want to have issues,
4:15 turn them off anyway. If you go in here,
4:18 you can turn these things on and off.
4:20 Don't just go with the defaults.
4:21 It'll help it. You know how people come to your project,
4:25 work with it as the way you intend.