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

Commit df145ac

Browse files
authored
Merge pull request #45 from githubtraining/rename-default-branch
Update link to community contributors repo correct default branch
2 parents 34b916f + cf0e490 commit df145ac

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ For more information on the goals of this course, check out the [`course-details
1414

1515
## Contribute
1616

17-
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.
17+
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.
1818

19-
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.
19+
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.
2020

2121
## License
2222

config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ steps:
104104
- type: mergeBranch
105105
head: template
106106
- type: mergeBranch
107-
head: master
107+
head: main
108108
base: map-events
109109
- type: deleteBranch
110110
branch: template

responses/02_break-it-down.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Great! When you commented, you triggered something called a webhook that I heard
44

55
Now that you know what you want to teach, the next thing to do is break it down into steps. This can be tricky - put on a teacher hat and an engineer hat at the same time.
66

7-
To break down the thing you want to teach, think about the observable behaviors. They should show that the user is doing it right. If you were watching this person, how would you know they've mastered the thing? Some examples are:
7+
To break down the thing you want to teach, think about the observable behaviors. They should show that the user is doing it right. If you were watching this person, how would you know they have learned the thing? Some examples are:
88

99
- Close an issue
1010
- Write a functional SQL query

responses/04_merge-conflict.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ If you've solved merge conflicts before, you know what to do: go ahead and resol
55
If this is your first merge conflict, that's OK too. Here are instructions for resolving a merge conflict:
66

77
1. At the bottom of the page in the "This branch has conflicts that must be resolved" section of the Pull Request, click the **Resolve conflicts** button.
8-
2. Look for the highlighted sections that begins with `<<<<<<< template` and ends with `>>>>>>> master`. These markers are added by Git to show you the content that is in conflict.
9-
3. Choose the version that you'd like to keep - do you want to keep the content between `<<<<<<< template` and `======`, or `======` and `>>>>>>> master`?
8+
2. Look for the highlighted sections that begins with `<<<<<<< template` and ends with `>>>>>>> main`. These markers are added by Git to show you the content that is in conflict.
9+
3. Choose the version that you'd like to keep - do you want to keep the content between `<<<<<<< template` and `======`, or `======` and `>>>>>>> main`?
1010
4. Delete the content that you do not want to keep.
1111
5. Next, remove the merge conflict markers by deleting the following lines:
1212

1313
<<<<<<< template
1414
=======
15-
>>>>>>> master
15+
>>>>>>> main
1616

1717
6. With the merge conflict markers removed, click **Mark as resolved**.
1818
7. Finally, click **Commit merge**.

responses/12_phase-3-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ To put this response in the config, it will be very similar to phase 1. But, _wh
66
- type: gate
77
left: '%payload.pull_request.base.ref%'
88
operator: ===
9-
right: master
9+
right: main
1010
else:
1111
- type: respond
1212
with: 01_try-again.md

responses/13_metadata.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The parts that we need now are the title, description, and the name of the learn
66

77
Here are a few examples:
88

9-
- [Introduction to GitHub](https://github.com/githubtraining/introduction-to-github/blob/master/config.yml)
9+
- [Introduction to GitHub](https://github.com/githubtraining/introduction-to-github/blob/main/config.yml)
1010
```
1111
title: Introduction to GitHub
1212
description: If you are looking for a quick and fun introduction to GitHub, you've found it. This class will get you started using GitHub in less than an hour.
@@ -15,15 +15,15 @@ template:
1515
repo: caption-this-template
1616
description: 'A robot powered training repository :robot:'
1717
```
18-
- [Communicating Using Markdown](https://github.com/githubtraining/communicating-using-markdown/blob/master/config.yml)
18+
- [Communicating Using Markdown](https://github.com/githubtraining/communicating-using-markdown/blob/main/config.yml)
1919
```
2020
title: "Communicating using Markdown"
2121
description: "This course will walk you through everything you need to start organizing ideas and collaborating using Markdown, a lightweight language for text formatting."
2222
template:
2323
name: "markdown-portfolio"
2424
repo: "communicating-using-md-template"
2525
```
26-
- [This course - Writing a Learning Lab course](https://github.com/githubtraining/write-a-ll-course/blob/master/config.yml)
26+
- [This course - Writing a Learning Lab course](https://github.com/githubtraining/write-a-ll-course/blob/main/config.yml)
2727
```
2828
title: Write a Learning Lab course
2929
description: Use Learning Lab's strengths for fast feedback to author your own course.

responses/14_troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Check the responses referenced in the the `config.yml` file. Do they all exist?
2525

2626
### Get more detailed error messages
2727

28-
More detailed error messages are available for draft courses made from pull requests. To do this, the course must first be published. Create another branch with the most up-to-date version of your course. Edit the course version on the `master` branch to reduce the possibility for errors. (You can do this by matching [the boilerplate repository](https://github.com/githubtraining/write-a-ll-course-template/blob/master/config.yml).)
28+
More detailed error messages are available for draft courses made from pull requests. To do this, the course must first be published. Create another branch with the most up-to-date version of your course. Edit the course version on the `main` branch to reduce the possibility for errors. (You can do this by matching [the boilerplate repository](https://github.com/githubtraining/write-a-ll-course-template/blob/main/config.yml).)
2929

3030
### Actions for every event
3131

0 commit comments

Comments
 (0)