Skip to content
This repository has been archived by the owner on Jan 3, 2018. It is now read-only.

Commit

Permalink
clarify early why a fork is necessary
Browse files Browse the repository at this point in the history
to address comment #1 on pull request #517, this makes explicit that you won't
always be able to push directly to repositories other people have made.
  • Loading branch information
lonnen committed Aug 13, 2014
1 parent 3dbb976 commit c60f281
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions novice/extras/02-forking.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@ title: Forking a Repository
The model shown in the [main lesson](../git/02-collab.html)
in which everyone pushes and pulls from a single repository,
is perfectly usable,
but what if you don't have write access to the repository?
but it will only work if you have write access to the repository.
Sometimes you will want to contribute to someone else's repository
and you won't be able to push your changes to it.
Instead, you can create your own copy of the repository on Github,
push your changes to your copy,
and ask the original author to review and possibly accept your changes
back into the original repository.

Suppose Wolfman wants to be able to make changes to Dracula's project on Github.
Instead of creating a new project,
Wolfman [forks](../../gloss.html#repository-fork) it,
Wolfman [forks](../../gloss.html#fork) it,
i.e., clones it on GitHub. He does this using the GitHub web interface:

<img src="img/git-fork-ui.png" alt="The Fork Button" />
Expand Down

0 comments on commit c60f281

Please sign in to comment.