Skip to content

Commit e7c3b8e

Browse files
authored
Merge pull request #1544 from ardavast/fix-typo
Fix typo in section 2.4
2 parents 72eb8dc + 7075934 commit e7c3b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ However, anything you lose that was never committed is likely never to be seen a
151151
==== Undoing things with git restore
152152

153153
Git version 2.25.0 introduced a new command: `git restore`.
154-
It's basically a alternative to `git reset` which we just covered.
154+
It's basically an alternative to `git reset` which we just covered.
155155
From Git version 2.25.0 onwards, Git will use `git restore` instead of `git reset` for many undo operations.
156156

157157
Let's retrace our steps, and undo things with `git restore` instead of `git reset`.

0 commit comments

Comments
 (0)