File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 `
2121they will be returned as an array. For example, a call to get the data for a
2222branch named ` feature ` , which doesn't exist, would return head refs
2323including ` 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
You can’t perform that action at this time.
0 commit comments