Workflow - Forking a Repository How to Fork a Repo in GitHubįorking a repository is the matter of clicking a button. Here is a demonstration of the workflow we discussed. That's the entire workflow-simple and straightforward ways to contribute to the public repository. Tom reviews the pull request at his convenience to approve and merge it if all goes well. Finally, Hari creates a Pull Request from the forked repository to the upstream repository.Hari makes the required changes and pushes the changes to the forked repository.Hari will first clone the repository and start making changes to do that. This repository is entirely detached from Tom's repo and Hari can start making any changes he wants. Also, it is an exact copy of the upstream repository. We call the hari/repo the Forked Repository. The repository is now available in Hari's GitHub account as /hari/repo.We call the /tom/repo repository the Upstream Repository. So how does it work? Let's understand the workflow in steps. This second approach of forking a repository directly is more convenient for any contributor. He doesn't have to wait to talk to Tom and get Tom to add him as a contributor specifically.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |