Skip to content
This repository has been archived by the owner on Nov 1, 2017. It is now read-only.

Commit

Permalink
Ref emphasis
Browse files Browse the repository at this point in the history
  • Loading branch information
STRd6 committed Mar 10, 2016
1 parent cf85346 commit e77a284
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/v3/git/refs.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The `ref` in the URL must be formatted as `heads/branch`, not just `branch`. For
<%= headers 200 %>
<%= json :ref %>

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

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

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

Expand Down

0 comments on commit e77a284

Please sign in to comment.