Skip to content

Commit 9de01bb

Browse files
committed
In prose, use "repository" instead of "repo"
1 parent d291a23 commit 9de01bb

File tree

10 files changed

+30
-30
lines changed

10 files changed

+30
-30
lines changed

content/changes/2012-12-08-finding-source-and-fork-repos-for-organizations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
We've made a couple of changes today to the Organization repositories
99
listing to bring it a bit closer to the functionality of the GitHub.com
1010
Organization repositories tab. We now let you retrieve repositories
11-
which are forks of another repo, as well as those repositories which
11+
which are forks of another repository, as well as those repositories which
1212
are sources (not forks).
1313

1414
# Grab all fork Repositories for an Organization

content/guides/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ authentication, to manipulating results, to combining results with other service
1111

1212
Every tutorial here will have a project, and every project will be
1313
stored and documented in our public
14-
[platform-samples](https://github.com/github/platform-samples) repo.
14+
[platform-samples](https://github.com/github/platform-samples) repository.
1515

1616
Feel free to fork, clone, and improve these guides.
1717

content/v3/activity/events/types.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ Events of this type are **no longer created**, but it's possible that they exist
128128
Key | Type | Description
129129
----|------|-------------
130130
`head`|`string` | The branch name the patch is applied to.
131-
`before`|`string` | SHA of the repo state before the patch.
132-
`after`|`string` | SHA of the repo state after the patch.
131+
`before`|`string` | SHA of the repository state before the patch.
132+
`after`|`string` | SHA of the repository state after the patch.
133133

134134

135135
## GistEvent
@@ -348,7 +348,7 @@ The WatchEvent is related to [starring a repository](/v3/activity/starring/#star
348348
See [this API blog post](/changes/2012-9-5-watcher-api/) for an explanation.
349349

350350
The event’s actor is the [user](/v3/users/) who starred a repository, and the
351-
event’s repo is the [repository](/v3/repos/) that was starred.
351+
event’s repository is the [repository](/v3/repos/) that was starred.
352352

353353
### Hook name
354354

content/v3/git.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ our API - by creating raw objects directly into the database and updating
1313
branch references you could technically do just about anything that Git
1414
can do without having Git installed.
1515

16-
Git DB API functions will return a `409 Conflict` if the git repo for a Repository is empty
16+
Git DB API functions will return a `409 Conflict` if the git repository for a Repository is empty
1717
or unavailable. This typically means it is being created still. [Contact
1818
Support](https://github.com/contact?form[subject]=Commits API) if this response status persists.
1919

content/v3/orgs/teams.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -165,23 +165,23 @@ NOTE: This does not delete the user, it just remove them from the team.
165165
<%= headers 200 %>
166166
<%= json(:repo) { |h| [h] } %>
167167

168-
## Check if a team manages a repo {#get-team-repo}
168+
## Check if a team manages a repository {#get-team-repo}
169169

170170
GET /teams/:id/repos/:owner/:repo
171171

172-
### Response if repo is managed by this team
172+
### Response if repository is managed by this team
173173

174174
<%= headers 204 %>
175175

176-
### Response if repo is not managed by this team
176+
### Response if repository is not managed by this team
177177

178178
<%= headers 404 %>
179179

180-
## Add team repo
180+
## Add team repository {#add-team-repo}
181181

182-
In order to add a repo to a team, the authenticated user must be an
183-
owner of the org that the team is associated with. Also, the repo must
184-
be owned by the organization, or a direct fork of a repo owned by the
182+
In order to add a repository to a team, the authenticated user must be an
183+
owner of the org that the team is associated with. Also, the repository must
184+
be owned by the organization, or a direct fork of a repository owned by the
185185
organization.
186186

187187
PUT /teams/:id/repos/:org/:repo
@@ -190,7 +190,7 @@ organization.
190190

191191
<%= headers 204 %>
192192

193-
If you attempt to add a repo to a team that is not owned by the
193+
If you attempt to add a repository to a team that is not owned by the
194194
organization, you get:
195195

196196
<%= headers 422 %>
@@ -202,11 +202,11 @@ organization, you get:
202202
:resource => :TeamMember}]
203203
%>
204204

205-
## Remove team repo
205+
## Remove team repository {#remove-team-repo}
206206

207-
In order to remove a repo from a team, the authenticated user must be an
207+
In order to remove a repository from a team, the authenticated user must be an
208208
owner of the org that the team is associated with.
209-
NOTE: This does not delete the repo, it just removes it from the team.
209+
NOTE: This does not delete the repository, it just removes it from the team.
210210

211211
DELETE /teams/:id/repos/:owner/:repo
212212

content/v3/pulls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Name | Type | Description
7878
-----|------|-------------
7979
`title`|`string` | **Required**. The title of the pull request.
8080
`head`|`string` | **Required**. The branch (or git ref) where your changes are implemented.
81-
`base`|`string` | **Required**. The branch (or git ref) you want your changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repo that requests a merge to a base of another repo.
81+
`base`|`string` | **Required**. The branch (or git ref) you want your changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository.
8282
`body`|`string` | The contents of the pull request.
8383

8484

content/v3/repos.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,15 @@ Name | Type | Description
110110
`has_issues`|`boolean` | Either `true` to enable issues for this repository, `false` to disable them. Default: `true`
111111
`has_wiki`|`boolean` | Either `true` to enable the wiki for this repository, `false` to disable it. Default: `true`
112112
`has_downloads`|`boolean` | Either `true` to enable downloads for this repository, `false` to disable them. Default: `true`
113-
`team_id`|`number` | The id of the team that will be granted access to this repository. This is only valid when creating a repo in an organization.
113+
`team_id`|`number` | The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.
114114
`auto_init`|`boolean` | Pass `true` to create an initial commit with empty README. Default: `false`
115115
`gitignore_template`|`string` | Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell". _Ignored if the `auto_init` parameter is not provided._
116116

117117
#### Example
118118

119119
<%= json \
120120
:name => "Hello-World",
121-
:description => "This is your first repo",
121+
:description => "This is your first repository",
122122
:homepage => "https://github.com",
123123
:private => false,
124124
:has_issues => true,
@@ -139,8 +139,8 @@ Name | Type | Description
139139

140140
### Response
141141

142-
The `parent` and `source` objects are present when the repo is a fork.
143-
`parent` is the repo this repo was forked from,
142+
The `parent` and `source` objects are present when the repository is a fork.
143+
`parent` is the repository this repository was forked from,
144144
`source` is the ultimate source for the network.
145145

146146
<div class="alert">
@@ -173,7 +173,7 @@ Name | Type | Description
173173

174174
<%= json \
175175
:name => "Hello-World",
176-
:description => "This is your first repo",
176+
:description => "This is your first repository",
177177
:homepage => "https://github.com",
178178
:private => true,
179179
:has_issues => true,

content/v3/repos/hooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ The JSON HTTP API follows the same conventions as the rest of the
113113
Name | Type | Description
114114
-----|------|--------------
115115
`name`|`string` | **Required**. The name of the service that is being called. (See [/hooks](https://api.github.com/hooks) for the list of valid hook names.)
116-
`config`|`hash` | **Required**. Key/value pairs to provide settings for this hook. These settings vary between the services and are defined in the [github-services](https://github.com/github/github-services) repo. Booleans are stored internally as "1" for true, and "0" for false. Any JSON `true`/`false` values will be converted automatically.
116+
`config`|`hash` | **Required**. Key/value pairs to provide settings for this hook. These settings vary between the services and are defined in the [github-services](https://github.com/github/github-services) repository. Booleans are stored internally as "1" for true, and "0" for false. Any JSON `true`/`false` values will be converted automatically.
117117
`events`|`array` | Determines what events the hook is triggered for. Default: `["push"]`
118118
`active`|`boolean` | Determines whether the hook is actually triggered on pushes.
119119

@@ -152,7 +152,7 @@ Here's how you can setup a hook that posts raw JSON
152152

153153
Name | Type | Description
154154
-----|------|--------------
155-
`config`|`hash` | Key/value pairs to provide settings for this hook. Modifying this will replace the entire config object. These settings vary between the services and are defined in the [github-services](https://github.com/github/github-services) repo. Booleans are stored internally as "1" for true, and "0" for false. Any JSON `true`/`false` values will be converted automatically.
155+
`config`|`hash` | Key/value pairs to provide settings for this hook. Modifying this will replace the entire config object. These settings vary between the services and are defined in the [github-services](https://github.com/github/github-services) repository. Booleans are stored internally as "1" for true, and "0" for false. Any JSON `true`/`false` values will be converted automatically.
156156
`events`|`array` | Determines what events the hook is triggered for. This replaces the entire array of events. Default: `["push"]`
157157
`add_events`|`array` | Determines a list of events to be added to the list of events that the Hook triggers for.
158158
`remove_events`|`array` | Determines a list of events to be removed from the list of events that the Hook triggers for.

content/v3/repos/statistics.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ then submit the request again. If the job has completed, that request will recei
2222
Repository statistics are cached by the SHA of the repository's default branch,
2323
which is usually master; pushing to the default branch resets the statistics cache.
2424

25-
## Get contributors list with additions, deletions, and commit counts
25+
## Get contributors list with additions, deletions, and commit counts {#contributors}
2626

2727
GET /repos/:owner/:repo/stats/contributors
2828

@@ -53,7 +53,7 @@ is a group of commits per day, starting on `Sunday`.
5353
<%= headers 200 %>
5454
<%= json(:repo_stats_commit_activity) %>
5555

56-
## Get the number of additions and deletions per week
56+
## Get the number of additions and deletions per week {#code-frequency}
5757

5858
GET /repos/:owner/:repo/stats/code_frequency
5959

@@ -65,7 +65,7 @@ to a repository.
6565
<%= headers 200 %>
6666
<%= json(:repo_stats_code_frequency) %>
6767

68-
## Get the weekly commit count for the repo owner and everyone else
68+
## Get the weekly commit count for the repository owner and everyone else {#participation}
6969

7070
GET /repos/:owner/:repo/stats/participation
7171

@@ -80,7 +80,7 @@ The array order is oldest week (index 0) to most recent week.
8080
<%= headers 200 %>
8181
<%= json(:repo_stats_participation) %>
8282

83-
## Get the number of commits per hour in each day
83+
## Get the number of commits per hour in each day {#punch-card}
8484

8585
GET /repos/:owner/:repo/stats/punch_card
8686

content/v3/repos/statuses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services to mark commits as passing or failing builds using Status. The
2222
build.
2323

2424
Note that the `repo:status` [OAuth scope](/v3/oauth/#scopes) grants targeted
25-
access to Statuses **without** also granting access to repo code, while the
25+
access to Statuses **without** also granting access to repository code, while the
2626
`repo` scope grants permission to code as well as statuses.
2727

2828
## List Statuses for a specific Ref

0 commit comments

Comments
 (0)