From 00317c5b282524536c22437cc1c3ea74bf8d59be Mon Sep 17 00:00:00 2001 From: Russell Derby Date: Sun, 13 Jan 2019 19:54:42 -0500 Subject: [PATCH 1/2] #1 fork, clone, and branch explained --- netid.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/netid.md b/netid.md index e69de29..4b39f42 100644 --- a/netid.md +++ b/netid.md @@ -0,0 +1,5 @@ +git fork: This command allows a user to create a copy of an entire repository onto their github account. Any changes the user makes will not affect the original repository, unless they create a "pull request". This pull request may be denied by the owner of the original repository. Upon accepting a pull request, the copied repository is merged with the original. + +git clone: Clone allows a user to make a local copy of a selected repositor. Changes may be merged into the repository by doing a "push". + +git branch: Branches allow a developer to have multiple working environments from the same repository (assuming the branches don't conflict). Due to the fact that github stores your repository data as a series of "snapshots", the branches can allow one user to work on multiple (again, non-conflicting) versions of the repository without having to push before switching, by allowing the user to work on multiple snapshots. From a7f24a46f6d66214e35895755599f0adc92724e9 Mon Sep 17 00:00:00 2001 From: Russell Derby Date: Sun, 13 Jan 2019 19:56:05 -0500 Subject: [PATCH 2/2] close #1 fork, clone, branch explained --- netid.md | 1 + 1 file changed, 1 insertion(+) diff --git a/netid.md b/netid.md index 4b39f42..72aa270 100644 --- a/netid.md +++ b/netid.md @@ -1,3 +1,4 @@ + git fork: This command allows a user to create a copy of an entire repository onto their github account. Any changes the user makes will not affect the original repository, unless they create a "pull request". This pull request may be denied by the owner of the original repository. Upon accepting a pull request, the copied repository is merged with the original. git clone: Clone allows a user to make a local copy of a selected repositor. Changes may be merged into the repository by doing a "push".