Up and Running with Git Transcripts
Chapter: Course conclusion
Lecture: Open source with git
0:00 These feature branches. They look a lot like the git flow style that we have
0:05 for pull requests and contributing to open source.
0:09 So here we have this idea for a new feature.
0:10 We do a bunch of work,
0:11 we merge it back again. Maybe we create a pull request there.
0:16 Open source is a little more indirect.
0:19 We have the actual open source project and we have our fork,
0:23 our copy of that remote hosted repository.
0:27 Same thing. We do a feature branch type of thing.
0:29 But instead of opening the PR against our own repository,
0:32 we open it against the forked repository.
0:36 They have a look at it. They decide, hey, this is great and decide to merge it back or they
0:40 don't, there's no reason they have to take it.
0:43 There's no requirement there. Right.
0:44 They didn't necessarily even ask for the pull request.
0:47 But if they do accept it,
0:48 then you will merge. Synchronize back with the original main branch.
0:53 Remember to do a feature branch fork before you start this.
0:56 Or you're always going to have a little bit of inconsistency with your copy of the
1:01 repository. Git makes contributing to open source.
1:04 Fun. So definitely. And keep your eye out for opportunities to do that.