Skip to content

Commit a38cf37

Browse files
committed
differences for PR #453
1 parent 1c0f72c commit a38cf37

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

14-collaboration-using-git.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,26 +67,26 @@ The diagram below shows a typical software development lifecycle with Git
6767
(in our case starting from making changes in a local branch that "tracks" a remote branch) and the commonly used commands to interact
6868
with different parts of the Git infrastructure, including:
6969

70-
- **working directory** -
70+
- **working tree** -
7171
a local directory (including any subdirectories) where your project files live
7272
and where you are currently working.
73-
It is also known as the "untracked" area of Git.
74-
Any changes to files will be marked by Git in the working directory.
75-
If you make changes to the working directory and do not explicitly tell Git to save them -
73+
It is also known as the "untracked" area of Git or "working directory".
74+
Any changes to files will be marked by Git in the working working tree.
75+
If you make changes to the working working tree and do not explicitly tell Git to save them -
7676
you will likely lose those changes.
7777
Using `git add filename` command,
78-
you tell Git to start tracking changes to file `filename` within your working directory.
78+
you tell Git to start tracking changes to file `filename` within your working working tree.
7979
- **staging area (index)** -
8080
once you tell Git to start tracking changes to files
8181
(with `git add filename` command),
8282
Git saves those changes in the staging area on your local machine.
8383
Each subsequent change to the same file needs to be followed by another `git add filename` command
8484
to tell Git to update it in the staging area.
85-
To see what is in your working directory and staging area at any moment
85+
To see what is in your working working tree and staging area at any moment
8686
(i.e. what changes is Git tracking),
8787
run the command `git status`.
8888
- **local repository** -
89-
stored within the `.git` directory of your project locally,
89+
stored within the `.git` working tree of your project locally,
9090
this is where Git wraps together all your changes from the staging area
9191
and puts them using the `git commit` command.
9292
Each commit is a new, permanent snapshot (checkpoint, record) of your project in time,
@@ -108,12 +108,12 @@ with different parts of the Git infrastructure, including:
108108
<!--
109109
Created with https://mermaid.live/edit#pako:eNqVkjFrwzAQhf-KuKmlKd01BAoZ2yUZumi5SmdbRPI58oliQv57JbuloSaFajqd3sd7x-kMlh2BhpFOmXpLO49twmh6Vc4bp6PvW7Xziaxwmh6324eDYFubz4lQq9aLQucW_fVTlb6wxaD2NPDoK77ILcfoZSF-Kyq1p8hCK2zIY7dAK8Ftr4bEdretVgPqOWBH9shZ_stFSi39EXFNfQ0WgrobO05ic4nM6Sd6uYXAH-TU-6Susz3NZvewgVJE9K7s8Fy9DUhHkQzoUjpqMAcxYPpLkWIWPky9BS0p0wby4FC-Vw66wTCWLrma-HX5F_P3uHwCS-vA3Q
110110
sequenceDiagram
111-
Working Directory->>+Staging Area: git add
111+
Working working tree->>+Staging Area: git add
112112
Staging Area->>+Local Repository Branch: git commit
113113
Local Repository Branch->>+Remote Repository Branch: git push
114114
Remote Repository Branch->>+Local Repository Branch: git fetch
115-
Local Repository Branch->>+Working Directory:git merge
116-
Remote Repository Branch->>+Working Directory: git pull (shortcut for git fetch followed by git merge for a 'tracking branch')
115+
Local Repository Branch->>+Working working tree:git merge
116+
Remote Repository Branch->>+Working working tree: git pull (shortcut for git fetch followed by git merge for a 'tracking branch')
117117
-->
118118

119119
<!--

md5sum.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"episodes/11-software-project.md" "f5e403d2b25781407eaed7534dfff9ec" "site/built/11-software-project.md" "2024-12-06"
1212
"episodes/12-virtual-environments.md" "bc4f97c27cf5f63646f4be54f6c492d8" "site/built/12-virtual-environments.md" "2025-04-01"
1313
"episodes/13-ides.md" "5a1badf094a9022c001bdbdbf7ceedfa" "site/built/13-ides.md" "2025-03-07"
14-
"episodes/14-collaboration-using-git.md" "765379f4c22b5a5bd7449f400d8cc140" "site/built/14-collaboration-using-git.md" "2025-04-01"
14+
"episodes/14-collaboration-using-git.md" "7f5dbeb00ae6c2b3a7c27421155d4a10" "site/built/14-collaboration-using-git.md" "2025-04-29"
1515
"episodes/15-coding-conventions.md" "edeb54ce0ada9fb1a6ae4b38ea391a63" "site/built/15-coding-conventions.md" "2025-04-01"
1616
"episodes/16-verifying-code-style-linters.md" "0cb677e60bb505b78e523617f49f33de" "site/built/16-verifying-code-style-linters.md" "2025-03-07"
1717
"episodes/17-section1-optional-exercises.md" "e41c7fe74d6067e4101908deb100162b" "site/built/17-section1-optional-exercises.md" "2025-04-01"

0 commit comments

Comments
 (0)