Skip to content

Commit e77a284

Browse files
committed
Ref emphasis
1 parent cf85346 commit e77a284

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/v3/git/refs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The `ref` in the URL must be formatted as `heads/branch`, not just `branch`. For
1717
<%= headers 200 %>
1818
<%= json :ref %>
1919

20-
If the ref doesn't exist in the repository, but existing refs start with ref
20+
If the `ref` doesn't exist in the repository, but existing refs start with `ref`
2121
they will be returned as an array. For example, a call to get the data for a
2222
branch named `feature`, which doesn't exist, would return head refs
2323
including `featureA` and `featureB` which do.
@@ -27,7 +27,7 @@ including `featureA` and `featureB` which do.
2727
<%= headers 200 %>
2828
<%= json :refs_matching %>
2929

30-
If the ref doesn't match an existing ref or any prefixes a 404 will be returned.
30+
If the `ref` doesn't match an existing ref or any prefixes a 404 will be returned.
3131

3232
GET /repos/:owner/:repo/git/refs/heads/feature-branch-that-no-longer-exists
3333

0 commit comments

Comments
 (0)