Information Technology Reference
In-Depth Information
You are responsible for two of them: your fork and your local repository. The first is
created by clicking Fork in the Githhub interface shown in Figure 12-8 . The local re-
pository is created as a clone of the original repository. The relationship between the
three repositories is depicted in Figure 12-18 .
Figure 12-18 . The relationship between the three repositories needed for work with pull requests
When using pull requests, the workflow is organized as follows:
• You commit, merge, and rebase in your local repository only.
• You push the changes from your local repository to your fork.
• You send pull requests from your fork to the original repository.
• You fetch the latest updates from the original repository to your local re-
pository.
The flow of commands is presented in Figure 12-19 .
Figure 12-19 . The flow of commands when working with pull requests
 
 
 
 
Search WWH ::




Custom Search