< Return to Video

Forking • GitHub & Git Foundations

  • 0:00 - 0:02
    Forking is the safe foundation
  • 0:02 - 0:04
    to contributing to any
    open source project.
  • 0:04 - 0:07
    (soft music)
  • 0:10 - 0:13
    Welcome to another episode
    of Git and GitHub Foundations on forking.
  • 0:13 - 0:16
    Forking is the act of taking
    your repository and copying it
  • 0:16 - 0:18
    under your own account.
  • 0:18 - 0:21
    Now this act of copying
    allows you to safely make changes
  • 0:21 - 0:22
    essentially in a sandbox.
  • 0:22 - 0:25
    This works both on the open source model
  • 0:25 - 0:28
    as well as an open company model,
  • 0:28 - 0:30
    greatly expanding the number of employees
  • 0:30 - 0:31
    that contribute to a project.
  • 0:31 - 0:34
    When we see a project
    that we'd like to contribute to,
  • 0:34 - 0:37
    we click the Fork button to make a copy
    of that into our own account
  • 0:37 - 0:39
    and then begin to make our own changes.
  • 0:39 - 0:41
    The appropriate step
    is to create a branch
  • 0:41 - 0:43
    on that forked copy
  • 0:43 - 0:45
    so that there's a name,
    label and container
  • 0:45 - 0:48
    for the potential contribution
    that we'll later make
  • 0:48 - 0:49
    to the original repo.
  • 0:50 - 0:51
    Once this is under your account
  • 0:51 - 0:53
    there's some metadata there that shows
  • 0:53 - 0:56
    who owns the original copy
    of this project and you can also see
  • 0:56 - 0:59
    who else has maybe
    forked this project as well.
  • 0:59 - 1:03
    The network graph supplements that
    with metadata down to the commit level
  • 1:03 - 1:06
    seeing what work people are doing
    in the repositories.
  • 1:08 - 1:10
    All of this is a preparatory step
  • 1:10 - 1:13
    for offering your changes back
    to the original project owner
  • 1:13 - 1:15
    through the mechanism
    of a Pull Request.
  • 1:17 - 1:21
    Thanks for watching another episode
    of Git and GitHub Foundations on forking.
  • 1:21 - 1:24
    As always, don't forget to click
    subscribe over on the side,
  • 1:24 - 1:28
    or leave us questions
    or comments down below,
  • 1:28 - 1:30
    or see some of these other
    educational videos
  • 1:30 - 1:32
    especially the one on Pull Requests.
  • 1:33 - 1:36
    (soft music)
    (voices silenced)
Title:
Forking • GitHub & Git Foundations
Description:

more » « less
Video Language:
English
Team:
GitHub
Project:
Git and GitHub Foundations
Duration:
01:42
There has been no activity on this language so far.

English subtitles

Revisions Compare revisions