Skip to content

Commit b9129ed

Browse files
vegarHonkingGoose
authored andcommitted
Remove reference to Windows
PowerShell on Linux requires the same escapeing of braces as on Windows Co-authored-by: HonkingGoose <[email protected]>
1 parent e16291c commit b9129ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/07-git-tools/sections/revision-selection.asc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,12 @@ If you have a UNIX or Linux background, you can think of the reflog as Git's ver
184184
.Escaping braces in PowerShell
185185
====
186186
187-
When using PowerShell on Windows, braces like `{` and `}` are special characters and must be escaped.
187+
When using PowerShell, braces like `{` and `}` are special characters and must be escaped.
188188
You can escape them with a backtick ` or put the commit reference in quotes:
189189
190190
[source,console]
191191
----
192-
$ git show HEAD@{0} # will NOT work on Windows
192+
$ git show HEAD@{0} # will NOT work
193193
$ git show HEAD@`{0`} # OK
194194
$ git show "HEAD@{0}" # OK
195195
----

0 commit comments

Comments
 (0)