Skip to content

Commit b868dee

Browse files
committed
Sync 02-git-basics aliases.
1 parent 1dd58bb commit b868dee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/02-git-basics/sections/aliases.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $ git config --global alias.unstage 'reset HEAD --'
3333
[source,console]
3434
----
3535
$ git unstage fileA
36-
$ git reset HEAD fileA
36+
$ git reset HEAD -- fileA
3737
----
3838

3939
这样看起来更清楚一些。

0 commit comments

Comments
 (0)