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

Commit

Permalink
rename master to main in branch context (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianamarie authored Nov 30, 2020
1 parent 8c4eec4 commit 108f182
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ For more information on the goals of this course, check out the [`course-details

## Contribute

See something we could improve? Check out the contributing guide in the [community contributors repository](https://github.com/githubtraining/community-contributors/blob/master/CONTRIBUTING.md) for more information on the types of contributions we :heart: and instructions.
See something we could improve? Check out the contributing guide in the [community contributors repository](https://github.com/githubtraining/community-contributors/blob/main/CONTRIBUTING.md) for more information on the types of contributions we :heart: and instructions.

We :heart: our community and take great care to ensure it is fun, safe and rewarding. Please review our [Code of Conduct](https://github.com/githubtraining/community-contributors/blob/master/CODE_OF_CONDUCT.md) for community expectations and guidelines for reporting concerns.
We :heart: our community and take great care to ensure it is fun, safe and rewarding. Please review our [Code of Conduct](https://github.com/githubtraining/community-contributors/blob/main/CODE_OF_CONDUCT.md) for community expectations and guidelines for reporting concerns.

## License

Expand Down
2 changes: 1 addition & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ tags: [
]
before:
- type: updateBranchProtection
branch: master
branch: main
enforce_admins: true
required_pull_request_reviews:
include_admins: true
Expand Down
2 changes: 1 addition & 1 deletion course-description.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ In this course, you'll learn:
| Student action | App response |
| -------------- | ------------ |
| Writes a task list | Comments in issue #1 to enable pages (01a-turn-on-ghp.md) |
| Enable GitHub Pages from `master` | Comments in issue #1 congrats (01b-close-issue.md), Opens PR #2 (title: Outline your portfolio, body-contents: 02-headers.md, pr-contents: 02-resume.md) |
| Enable GitHub Pages from `main` | Comments in issue #1 congrats (01b-close-issue.md), Opens PR #2 (title: Outline your portfolio, body-contents: 02-headers.md, pr-contents: 02-resume.md) |
| Edit file in PR #2 by adding header formatting | Validate via status check and/or PR review, comments (03-pr-succeeds.md) or (03-request-changes.md) |
| Merge pull request #2 | Comments (03-next.md) in PR #2, opens PR #3 (title: Introduce yourself to the world, body-contents: 04-add-image.md, pr-contents: "Add image here" on line 2 or 3 of README.md) |
| Add's image in PR #3 | Validate via status check and/or PR review, comments (04-image-works-url.md) or (04-request-changes.md) |
Expand Down
4 changes: 2 additions & 2 deletions course-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Since this project is going to be a static web page, the first thing you'll need
### :memo: Activity: Enable GitHub Pages
1. Under your repository name in this repository, click **Settings**.
![image of settings tab](https://help.github.com/assets/images/help/repository/repo-actions-settings.png)
1. Use the Select source drop-down menu to select `master` as your GitHub Pages publishing source.
1. Use the Select source drop-down menu to select `main` as your GitHub Pages publishing source.
![image of selecting a source](https://help.github.com/assets/images/help/pages/select-master-branch-docs-folder-as-source.png)
1. Click **Save**.
![image of clicking save](https://help.github.com/assets/images/help/pages/click-save-next-to-master-branch-docs-folder-source-selection.png)
Expand Down Expand Up @@ -263,7 +263,7 @@ _You **can** combine them_

### :memo: Activity: Fix the markdown

1. Create a pull request with `base: master` and `compare: fix-markdown`.
1. Create a pull request with `base: main` and `compare: fix-markdown`.
1. Edit the file in this pull request.
1. By using the **Preview** tab and your :sparkles: new Markdown knowledge, see what markdown is broken.
1. Fix the markdown.
Expand Down
2 changes: 1 addition & 1 deletion responses/01_turn-on-ghp.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Now let's turn our focus to the content of your portfolio. Because this portfoli

### :keyboard: Activity: Enable GitHub Pages
1. Under your repository name, click [**Settings**]({{ repoUrl }}/settings).
1. In the **GitHub Pages** section, use the **Select source** drop-down menu to select `master` as your GitHub Pages publishing source.
1. In the **GitHub Pages** section, use the **Select source** drop-down menu to select `main` as your GitHub Pages publishing source.

> _I may take up to a minute to respond as I wait for GitHub Pages to create a deployment of your repository_.
Expand Down
4 changes: 2 additions & 2 deletions responses/03_pr-succeeds.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ I see you've added at least one header, @{{ user.username }}. You can continue w
### :keyboard: Activity: Merge the Pull Request

{% if preferences.gitTool == 'cli' %}
1. Check out to the `master` branch:
1. Check out to the `main` branch:
```shell
git checkout master
git checkout main
```
2. Merge your branch:
```shell
Expand Down
4 changes: 2 additions & 2 deletions responses/06_success.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ This looks great, @{{ user.username }}! You've created a link to show off your p
### :keyboard: Activity: Merge the Pull Request

{% if preferences.gitTool == 'cli' %}
1. Check out to the `master` branch:
1. Check out to the `main` branch:
```shell
git checkout master
git checkout main
```
2. Merge your branch:
```shell
Expand Down
4 changes: 2 additions & 2 deletions responses/09_success.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Nice list, @{{ user.username }}! You can merge this pull request when you're rea
### :keyboard: Activity: Merge the Pull Request

{% if preferences.gitTool == 'cli' %}
1. Check out to the `master` branch:
1. Check out to the `main` branch:
```shell
git checkout master
git checkout main
```
2. Merge your branch:
```shell
Expand Down
2 changes: 1 addition & 1 deletion responses/es/01_turn-on-ghp.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Ahora centrémonos en el contenido de tu portafolio. Dado que este portafolio se

### :keyboard: Actividad: Activa GitHub Pages
1. Debajo del nombre de tu repositorio, haz clic en [**Settings**]({{ repoUrl }}/settings).
1. En la sección **GitHub Pages**, utiliza el desplegable **Select source** para seleccionar `master` como tu fuente de publicación para GitHub Pages.
1. En la sección **GitHub Pages**, utiliza el desplegable **Select source** para seleccionar `main` como tu fuente de publicación para GitHub Pages.

> _Puede que tarde hasta un minuto responder mientras GitHub Pages crea un despliegue de tu repositorio._
Expand Down
4 changes: 2 additions & 2 deletions responses/es/03_pr-succeeds.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Veo que has añadido al menos un encabezado, @{{ user.username }}. Puedes contin
### :keyboard: Actividad: Combina la solicitud de extracción

{% if preferences.gitTool == 'cli' %}
1. Cámbiate a la rama `master`:
1. Cámbiate a la rama `main`:
```shell
git checkout master
git checkout main
```
2. Combina tu rama:
```shell
Expand Down
4 changes: 2 additions & 2 deletions responses/es/06_success.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
### :keyboard: Actividad: Combina la solicitud de extracción

{% if preferences.gitTool == 'cli' %}
1. Cámbiate a la rama `master`:
1. Cámbiate a la rama `main`:
```shell
git checkout master
git checkout main
```
2. Combina tu rama:
```shell
Expand Down
4 changes: 2 additions & 2 deletions responses/es/09_success.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
### :keyboard: Actividad: Combina la solicitud de extracción

{% if preferences.gitTool == 'cli' %}
1. Cámbiate a la rama `master`:
1. Cámbiate a la rama `main`:
```shell
git checkout master
git checkout main
```
2. Combina tu rama:
```shell
Expand Down

0 comments on commit 108f182

Please sign in to comment.