We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b8ef73 commit 5c63648Copy full SHA for 5c63648
README.md
@@ -184,15 +184,16 @@ Though there are 1000’s of articles about git, I have written this article is
184
185
### Revoke/Undo from Staging (Workspace <-- Staging)
186
187
- # Restore all files from the Staging to the Workspace.
188
- # Remaining the workspace unchanged.
189
- $ git reset
190
-
191
# Restore specified file from the Staging to the Workspace.
192
# Remaining the workspace unchanged.
193
$ git reset [file]
194
195
- # Reset the Staging and workspace, keeping consistent with the last commit.
+ # Restore all files from the Staging to the Workspace.
+ # Remaining the workspace unchanged.
+ $ git reset
+
196
+ # All chnages pf the workspace will be discard.
197
$ git reset --hard
198
199
# Reset the pointer of the current branch to pointing the specified commit while resetting the Staging, but the workspace remains unchanged.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments