Skip to content

Commit 179404b

Browse files
authored
Merge pull request #380 from sjvrijn/patch-1
remove checkout references from episode 14 diagram
2 parents 9952e16 + d46b07f commit 179404b

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

_episodes/14-collaboration-using-git.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,8 @@ Git has several important characteristics:
5757
so even if you make a mistake you can revert to a point before it.
5858

5959
The diagram below shows a typical software development lifecycle with Git
60-
(starting from making changes locally) and the commonly used commands to interact
61-
with different parts of the Git infrastructure,
62-
such as:
60+
(in our case starting from making changes in a local branch that "tracks" a remote branch) and the commonly used commands to interact
61+
with different parts of the Git infrastructure, including:
6362
- **working directory** -
6463
a local directory (including any subdirectories) where your project files live
6564
and where you are currently working.
@@ -102,18 +101,17 @@ such as:
102101
Created with https://mermaid.live/edit#pako:eNqVkjFrwzAQhf-KuKmlKd01BAoZ2yUZumi5SmdbRPI58oliQv57JbuloSaFajqd3sd7x-kMlh2BhpFOmXpLO49twmh6Vc4bp6PvW7Xziaxwmh6324eDYFubz4lQq9aLQucW_fVTlb6wxaD2NPDoK77ILcfoZSF-Kyq1p8hCK2zIY7dAK8Ftr4bEdretVgPqOWBH9shZ_stFSi39EXFNfQ0WgrobO05ic4nM6Sd6uYXAH-TU-6Susz3NZvewgVJE9K7s8Fy9DUhHkQzoUjpqMAcxYPpLkWIWPky9BS0p0wby4FC-Vw66wTCWLrma-HX5F_P3uHwCS-vA3Q
103102
sequenceDiagram
104103
Working Directory->>+Staging Area: git add
105-
Staging Area->>+Local Repository: git commit
106-
Local Repository->>+Remote Repository: git push
107-
Remote Repository->>+Local Repository: git fetch
108-
Local Repository->>+Working Directory:git checkout
109-
Local Repository->>+Working Directory:git merge
110-
Remote Repository->>+Working Directory: git pull (shortcut for git fetch followed by git checkout/merge)
104+
Staging Area->>+Local Repository Branch: git commit
105+
Local Repository Branch->>+Remote Repository Branch: git push
106+
Remote Repository Branch->>+Local Repository Branch: git fetch
107+
Local Repository Branch->>+Working Directory:git merge
108+
Remote Repository Branch->>+Working Directory: git pull (shortcut for git fetch followed by git merge for a 'tracking branch')
111109
-->
112110
<!--
113111
SVG of the diagram can be downloaded from:
114-
[![](https://mermaid.ink/img/pako:eNqVUj1PwzAQ_SvWTSCK2D1UQuoISzuwZDnsi2PVzgXnLBRV_e_YiSoKUZHwdL57T-_dxwkMWwINI31k6g3tPLqEselVeW-cjr53aucTGeE0PW63DwdBV5PPiVAr50WhtQv-ulShL2wwqD0NPPpKX-CGY_SyMH4jKmtPkYVWtCGP3UJaAW5rtSSmuy31o5fZW0fmyFn-QYmUHP1hbDXESzshqLux4yQmF6Ocvg2XXwj8SVa9T-ra1tMsdg8bKEFEb8vmTlW7AekoUgO6hJZazEEaaPpzgWIWPky9AS0p0wbyYFEuiwbdYhhLlmx1_Lpcw3wU5y-9M7w9?type=png)](https://mermaid.live/edit#pako:eNqVUj1PwzAQ_SvWTSCK2D1UQuoISzuwZDnsi2PVzgXnLBRV_e_YiSoKUZHwdL57T-_dxwkMWwINI31k6g3tPLqEselVeW-cjr53aucTGeE0PW63DwdBV5PPiVAr50WhtQv-ulShL2wwqD0NPPpKX-CGY_SyMH4jKmtPkYVWtCGP3UJaAW5rtSSmuy31o5fZW0fmyFn-QYmUHP1hbDXESzshqLux4yQmF6Ocvg2XXwj8SVa9T-ra1tMsdg8bKEFEb8vmTlW7AekoUgO6hJZazEEaaPpzgWIWPky9AS0p0wbyYFEuiwbdYhhLlmx1_Lpcw3wU5y-9M7w9)
112+
https://mermaid.ink/svg/pako:eNqFksFuwyAMhl8FcemmdS_AodKm7rZe2sOkKRcXnAQNcEaMpqjquw-SZZtUReEE9vfbP5iL1GRQKtnjZ8KgcW-hieCrIPJ6o_hhQyP2NqJmisPjbvdwYmhK8CkiKNFYFmDMxP9PFfSVNDhxxI56W-TiOULQ7aTS5L3lSbgAlhpH9MS4VKRLfTuVWOJWfdTIul21cfMUqmg9xgbX-9-Kf8w7J-76liLrlI1Q_DOUT87RFxpxHsRvq5EBseEIeqx4Hnts7uVWZsCDNXmWl-Koktyix0qqvDVYQ3JcySpcMwqJ6TQELRXHhFuZOgM8j16qGlyfo2jKPQ7T_xi_yUy-jJlZ3UF4J5p112_HVM9r
115113
-->
116-
![Development lifecycle with Git, containing Git commands add, commit, push, fetch, checkout, merge and pull](../fig/git-lifecycle.svg){: .image-with-shadow width="600px"}
114+
![Development lifecycle with Git, containing Git commands add, commit, push, fetch, restore, merge and pull](../fig/git-lifecycle.svg){: .image-with-shadow width="600px"}
117115
<p style="text-align: center;">
118116
Software development lifecycle with Git
119117
</p>

0 commit comments

Comments
 (0)