Skip to content

Commit 106d105

Browse files
committed
Clarify branch name in refs example
1 parent 70020da commit 106d105

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/v3/git/refs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ title: Git Refs | GitHub API
88

99
GET /repos/:user/:repo/git/refs/:ref
1010

11-
The `ref` in the URL must be formatted as `heads/branch`, not just `branch`. For example, the call to get the data for a branch named `sc/featureA` would be:
11+
The `ref` in the URL must be formatted as `heads/branch`, not just `branch`. For example, the call to get the data for a branch named `skunkworkz/featureA` would be:
1212

13-
GET /repos/:user/:repo/git/refs/heads/sc/featureA
13+
GET /repos/:user/:repo/git/refs/heads/skunkworkz/featureA
1414

1515
### Response
1616

0 commit comments

Comments
 (0)