From 8cbdab4ec48985bfe9dd23bbde52c9b228b64ceb Mon Sep 17 00:00:00 2001 From: Mudi Hussaini <32632836+Profsain@users.noreply.github.com> Date: Tue, 1 Jan 2019 17:38:50 +0100 Subject: [PATCH] Add a note "Directory is also know as repo" (#27335) line 36 --- guide/english/git/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guide/english/git/index.md b/guide/english/git/index.md index e2460efc9d..aa55d75681 100644 --- a/guide/english/git/index.md +++ b/guide/english/git/index.md @@ -33,6 +33,8 @@ The **Git directory** (located in `YOUR-PROJECT-PATH/.git/`) is where Git stores The **working directory** is where a user makes local changes to a project. The working directory pulls the project's files from the Git directory's object database and places them on the user's local machine. +Note: **Directory** is also known as **Repository** or short form repo. The repo on the user's local machine is called "Local repo" while the repo on git server is called "Remote repo". + The **staging area** is a file (also called the "index", "stage", or "cache") that stores information about what will go into your next commit. A commit is when you tell Git to save these staged changes. Git takes a snapshot of the files as they are and permanently stores that snapshot in the Git directory. With three sections, there are three main states that a file can be in at any given time: committed, modified, or staged. You *modify* a file any time you make changes to it in your working directory. Next, it's *staged* when you move it to the staging area. Finally, it's *committed* after a commit.