You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _episodes/14-collaboration-using-git.md
+9-11Lines changed: 9 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,9 +57,8 @@ Git has several important characteristics:
57
57
so even if you make a mistake you can revert to a point before it.
58
58
59
59
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:
63
62
-**working directory** -
64
63
a local directory (including any subdirectories) where your project files live
65
64
and where you are currently working.
@@ -102,18 +101,17 @@ such as:
102
101
Created with https://mermaid.live/edit#pako:eNqVkjFrwzAQhf-KuKmlKd01BAoZ2yUZumi5SmdbRPI58oliQv57JbuloSaFajqd3sd7x-kMlh2BhpFOmXpLO49twmh6Vc4bp6PvW7Xziaxwmh6324eDYFubz4lQq9aLQucW_fVTlb6wxaD2NPDoK77ILcfoZSF-Kyq1p8hCK2zIY7dAK8Ftr4bEdretVgPqOWBH9shZ_stFSi39EXFNfQ0WgrobO05ic4nM6Sd6uYXAH-TU-6Susz3NZvewgVJE9K7s8Fy9DUhHkQzoUjpqMAcxYPpLkWIWPky9BS0p0wby4FC-Vw66wTCWLrma-HX5F_P3uHwCS-vA3Q
103
102
sequenceDiagram
104
103
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)
0 commit comments