Skip to content

Commit 612ac5b

Browse files
author
Dan Schmidt
committed
Correct git log -S syntax
1 parent b02a56a commit 612ac5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/02-git-basics/sections/viewing-history.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ Another really helpful filter is the `-S` option which takes a string and only s
249249

250250
[source,console]
251251
----
252-
$ git log --Sfunction_name
252+
$ git log -Sfunction_name
253253
----
254254

255255
The last really useful option to pass to `git log` as a filter is a path.

0 commit comments

Comments
 (0)