Skip to content

Commit ec06324

Browse files
committed
Replace git master with main or default branch in docs
1 parent dc6a175 commit ec06324

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

RELEASE.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ Also the images we build are based on some image specified in the `FROM` stateme
6262

6363
- [ ] Create and push a git tag
6464
```bash
65-
git checkout master
66-
git reset --hard <upstream>/master
67-
git tag -a x.y.z-beta.1 -m x.y.z-beta.1 <commit on master>
68-
git push --follow-tags <upstream> master
65+
git checkout main
66+
git reset --hard <upstream>/main
67+
git tag -a x.y.z-beta.1 -m x.y.z-beta.1 <commit on main>
68+
git push --follow-tags <upstream> main
6969
```
7070

7171
- Announce the x.y.z-beta.1 release
@@ -86,10 +86,10 @@ Also the images we build are based on some image specified in the `FROM` stateme
8686
- [ ] Create and push a git tag.
8787

8888
```bash
89-
git checkout master
90-
git reset --hard <upstream>/master
89+
git checkout main
90+
git reset --hard <upstream>/main
9191
git tag -a x.y.z -m x.y.z HEAD
92-
git push --follow-tags <upstream> master
92+
git push --follow-tags <upstream> main
9393
```
9494

9595
- [ ] Create a GitHub release.

doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def parse_schema(d, md=[], depth=0, pre=""):
277277
html_context = {
278278
"github_user": "jupyterhub",
279279
"github_repo": "zero-to-jupyterhub-k8s",
280-
"github_version": "master",
280+
"github_version": "main",
281281
"doc_path": "doc/source",
282282
}
283283

doc/source/repo2docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ to configure JupyterHub to build off of this image:
108108
<a-git-repository-url>
109109
```
110110
111-
This tells `repo2docker` to fetch `master` of the Git repository, and
111+
This tells `repo2docker` to fetch the default branch of the Git repository, and
112112
uses heuristics to build a Docker image of it.
113113
114114
6. **Push the newly-built Docker image to your repository.**

0 commit comments

Comments
 (0)