@@ -71,25 +71,112 @@ touch index.py
7171
7272
7373# Literature review
74- - [ Working tree] ( # )
75- - [ Commit] ( # )
76- - [ Stage] ( # )
77- - [ Tracked/Untracked file] ( # )
78- - [ Modifed file] ( # )
79- - [ Nothing added to commit] ( # )
80- - [ Changes not staged for commit] ( # )
81- - [ HEAD] ( # )
82- - [ Local] ( # )
83- - [ Origin] ( # )
84- - [ Remote] ( # )
85- - [ Both modified] ( # )
86- - [ Clone] ( # )
87- - [ Ahead of origin/master] ( # )
88- - [ Behind of origin/master] ( # )
89- - [ Your branch is up to date] ( # )
90- - [ Origin/master & master] ( # )
91-
92-
74+ - [ Working tree] ( #working-tree )
75+ - [ Commit] ( #commit )
76+ - [ Stage] ( #stage )
77+ - [ Tracked/Untracked file] ( #trackeduntracked-file )
78+ - [ Modifed file] ( #modifed-file )
79+ - [ Nothing added to commit] ( #nothing-added-to-commit )
80+ - [ Changes not staged for commit] ( #changes-not-staged-for-commit )
81+ - [ HEAD] ( #head )
82+ - [ Local] ( #local )
83+ - [ Origin] ( #origin )
84+ - [ Remote] ( #remote )
85+ - [ Both modified] ( #both-modified )
86+ - [ Clone] ( #clone )
87+ - [ Ahead of origin/master] ( #ahead-of-originmaster )
88+ - [ Behind of origin/master] ( #behind-of-originmaster )
89+ - [ Your branch is up to date] ( #your-branch-is-up-to-date )
90+ - [ Origin/master & master] ( #originmaster--master )
91+ - [ Tag] ( #tag )
92+
93+
94+ ## Working tree
95+ * The working tree, or working directory, consists of files that
96+ you are currently working on.
97+ * You can think of a working tree as a file system where you can
98+ view and modify files.
99+
100+ ## Commit
101+ * save your file/files that put in stage, and after commit,
102+ git consider this file/files as a HEAD file. You will be
103+ availble call every commit in future.
104+ * Git considers each commit change point or "save point".
105+ It is a point in the project you can go back to if you find
106+ a bug, or want to make a change.
107+
108+ ## Stage
109+ * stage is a place that, 1. untracked files put in stage in
110+ order to in commit phase, tracked by git. or 2.
111+ modified/deleted/... files that already tracked by git,
112+ put in stage in order to save changed in commit phase.
113+
114+ ## Tracked/Untracked file
115+ * you have NEW file/files that if contents modified, git can't
116+ sense alterations.
117+ * Untracked basically means that Git sees a file you didn't have
118+ in the previous snapshot (commit), and which hasn't yet been
119+ staged.
120+ * Untracked files are most of the time files you don't want to
121+ be controlled, because for example they are generated by your
122+ compiler.
123+ * Tracked - files that Git knows about and are added to the
124+ local repository.
125+ * Untracked - files that are in your working directory, but
126+ not added to the local repository.
127+
128+ ## Modifed file
129+ * git always check tracked file/files,when file/files contents has
130+ been changed, git label it/these to modified file.
131+
132+ ## Nothing added to commit
133+ * no file/files are in stage to commit.
134+
135+ ## Changes not staged for commit
136+ * your tracked file/files has been modified, and NOT yet put in
137+ stage to commit.
138+
139+ ## HEAD
140+ * HEAD is last/final commit (last saved alterations).
141+
142+ ## Local
143+ * local meaning is in your personal computer.
144+ * EX:
145+ local commit : a written commit that has been write in your computer and has not yet push in remote repository.
146+
147+ ## Origin
148+ * origin" is the name of the remote repository where you want to
149+ publish you commits. By convention, the default remote repository
150+ is called "origin", but you can work with several remotes
151+ (with different names) as the same time. More information here.
152+ ## Remote
153+ * A remote repository in Git, also called a remote, is a Git
154+ repository that's hosted on the Internet or another network.
155+ ## Both modified
156+ * recommend you : commit and merege early early!
157+ * recomend you : pull repository, and edited it and commit and
158+ push it.
159+ ## Clone
160+ * duplicate and download everything of remote repository
161+ when you use command clone in git, git create new folder with
162+ name as same as name of remote repo in github and copy and
163+ download everything and put it them on this folder.
164+ ## Ahead of origin/master
165+
166+ ## Behind of origin/master
167+ * when you fetch remote repo on your local repo, this guide say
168+ you, remote repo have new commits so that you have not these
169+ commits in your local repository. and you "behind of
170+ origin/master" this meaning that, you are NOT update rather to
171+ origin remote on master branch.
172+ ## Your branch is up to date
173+ * when pull (fetch and merge) remote branch with your local branch
174+ this guide showed.
175+ ## Origin/master & master
176+ * "remote name"/"remote branch name" & "local branch name"
177+ ## Tag
178+ * Git has the ability to tag specific points in a repository’s
179+ history as being important.
93180
94181
95182
0 commit comments