Skip to content

Commit 62ce3dc

Browse files
committed
Merge branch 'sa/doc-ls-remote'
Mark-up fix to documentation added during this cycle. * sa/doc-ls-remote: show-ref doc: fix carets in monospace
2 parents fa43131 + 18c4aac commit 62ce3dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/git-show-ref.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ OPTIONS
4747
-d::
4848
--dereference::
4949

50-
Dereference tags into object IDs as well. They will be shown with `{caret}{}`
50+
Dereference tags into object IDs as well. They will be shown with `^{}`
5151
appended.
5252

5353
-s::
@@ -78,7 +78,7 @@ OPTIONS
7878
Make `git show-ref` act as a filter that reads refs from stdin of the
7979
form `^(?:<anything>\s)?<refname>(?:\^{})?$`
8080
and performs the following actions on each:
81-
(1) strip `{caret}{}` at the end of line if any;
81+
(1) strip `^{}` at the end of line if any;
8282
(2) ignore if pattern is provided and does not head-match refname;
8383
(3) warn if refname is not a well-formed refname and skip;
8484
(4) ignore if refname is a ref that exists in the local repository;

0 commit comments

Comments
 (0)