Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b2bf229

Browse files
author
Saiful
committed
readme update
1 parent 1d87cb2 commit b2bf229

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

‎README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Though there are 1000’s of articles about git, I have written this article is
8888
# Undo the last commit.
8989
$ git reset HEAD~1
9090

91-
8. ### Remote synchronization from Repository(Repository <-- Remotr)
91+
8. ### Remote synchronization from Repository(Repository <-- Remote)
9292

9393
# Push the current branch to the Remote Repository.
9494
$ git push origin [branch]
@@ -102,6 +102,7 @@ Though there are 1000’s of articles about git, I have written this article is
102102
# Download all remote branches.
103103
$ git fetch --all
104104

105+
105106
10. ### Workspace synchronization from Repository (Workspace <-- Repository)
106107

107108
# merge the specified branch to the current branch.
@@ -164,7 +165,7 @@ Though there are 1000’s of articles about git, I have written this article is
164165

165166
13. ### Ignore files and folder
166167

167-
# Delete the files in the Workspace and put this deletion into the Index.
168+
# Delete the files in the Workspace and put this deletion into the Staging.
168169
$ git rm [file1] [file2] ...
169170

170171

@@ -203,28 +204,28 @@ Though there are 1000’s of articles about git, I have written this article is
203204

204205
6. ### Revoke
205206

206-
# Restore the specified file of the Index to the Workspace.
207+
# Restore the specified file of the Staging to the Workspace.
207208
$ git checkout [file]
208209

209-
# Restore the specified file of a certain commit to the Index and Workspace.
210+
# Restore the specified file of a certain commit to the Staging and Workspace.
210211
$ git checkout [commit] [file]
211212

212-
# Restore all the files in the Index to the Workspace.
213+
# Restore all the files in the Staging to the Workspace.
213214
$ git checkout .
214215

215-
# Reset the specified file in the Index, keeping consistent with the previous commit, but remaining the workspace unchanged.
216+
# Reset the specified file in the Staging, keeping consistent with the previous commit, but remaining the workspace unchanged.
216217
$ git reset [file]
217218

218-
# Reset the Index and workspace, keeping consistent with the last commit.
219+
# Reset the Staging and workspace, keeping consistent with the last commit.
219220
$ git reset --hard
220221

221-
# Reset the pointer of the current branch to pointing the specified commit while resetting the Index, but the workspace remains unchanged.
222+
# Reset the pointer of the current branch to pointing the specified commit while resetting the Staging, but the workspace remains unchanged.
222223
$ git reset [commit]
223224

224-
# Reset the HEAD of the current branch to the specified commit while resetting the Index and Workspace, keeping consistent with the specified commit.
225+
# Reset the HEAD of the current branch to the specified commit while resetting the Staging and Workspace, keeping consistent with the specified commit.
225226
$ git reset --hard [commit]
226227

227-
# Reset the current HEAD to the specified commit, remaining the Index and Workspace unchanged.
228+
# Reset the current HEAD to the specified commit, remaining the Staging and Workspace unchanged.
228229
$ git reset --keep [commit]
229230

230231
# Create a new commit to undo the specified commit.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /