1.

Explain the advantages of Forking Workflow.

Answer»

The Forking Workflow is fundamentally DIFFERENT than other popular Git WORKFLOWS. Instead of using a single server-side repository to act as the “central” codebase, it gives every developer their own server-side repository. The Forking Workflow is most often seen in public open source projects.

The forking workflow can be summarized as below:

  • Fork a GITHUB repository.
  • Clone the forked repository to your local system.
  • Add a Git remote for the original repository.
  • Create a feature branch in which to PLACE your changes.
  • Make your changes to the new branch.
  • Commit the changes to the branch.
  • Push the branch to GitHub.
  • Open a pull request from the new branch to the original repo.
  • Clean up after your pull request is MERGED.


Discussion

No Comment Found