You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 1, 2022. It is now read-only.
Copy file name to clipboardexpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,12 @@ For more information on the goals of this course, check out the [`course-details
14
14
15
15
## Contribute
16
16
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.
18
18
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.
20
20
21
21
## License
22
22
23
-
All Learning Lab course repositories are licensed under [CC-BY-4.0](../master/LICENSE) (c) 2019 GitHub, Inc. The template repositories associated with each course may have different licenses.
23
+
All Learning Lab course repositories are licensed under [CC-BY-4.0](../main/LICENSE) (c) 2019 GitHub, Inc. The template repositories associated with each course may have different licenses.
24
24
25
25
When using the GitHub logos, be sure to follow the [GitHub logo guidelines](https://github.com/logos)
Copy file name to clipboardexpand all lines: responses/01_turn-on-gh-pages.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Now, on to business! GitHub Pages allow you to serve a static site from a reposi
10
10
11
11
1. Click on the [**Settings**]({{ repoUrl }}/settings) tab in this repository
12
12
1. Scroll down to the "GitHub Pages" section
13
-
1. From the "Source" drop down, select **master branch**
13
+
1. From the "Source" drop down, select **main branch**
14
14
15
15
> Note: Even though you'll see an option to choose a theme, do not apply a theme at this point. We've protected the code so you can't make unintended changes. You'll have the opportunity to apply a theme when the course is completed.
Copy file name to clipboardexpand all lines: responses/03_create-a-branch.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,13 @@ Let’s complete the first step of the GitHub flow: creating a branch <sup>[:boo
10
10
11
11
You just learned how to create a branch—the first step in the GitHub flow.
12
12
13
-
Branches are an important part of the GitHub flow because they allow us to separate our work from the `master` branch. In other words, everyone's work is safe while you contribute.
13
+
Branches are an important part of the GitHub flow because they allow us to separate our work from the `main` branch. In other words, everyone's work is safe while you contribute.
14
14
15
15
### Tips for using branches
16
16
17
-
A single project can have hundreds of branches, each suggesting a new change to the `master` branch.
17
+
A single project can have hundreds of branches, each suggesting a new change to the `main` branch.
18
18
19
-
The best way to keep branches organized with a team is to keep them concise and short-lived. In other words, a single branch should represent a single new feature or bug fix. This reduces confusion among contributors when branches are only active for a few days before they’re merged <sup>[:book:](https://help.github.com/articles/github-glossary/#merge)</sup> into the `master` branch.
19
+
The best way to keep branches organized with a team is to keep them concise and short-lived. In other words, a single branch should represent a single new feature or bug fix. This reduces confusion among contributors when branches are only active for a few days before they’re merged <sup>[:book:](https://help.github.com/articles/github-glossary/#merge)</sup> into the `main` branch.
20
20
21
21
<hr>
22
22
</details>
@@ -52,17 +52,17 @@ The best way to keep branches organized with a team is to keep them concise and
52
52
{{ thePayload.repository.clone_url }}
53
53
```
54
54
1. Select the location in which to save the repository and click **Choose folder**. Then, open the location you selected.
55
-
1. The repository folder should now be open in your VS Code project. Click on `master` at the bottom left of the VS Code window. This will bring up the Command Palette with the commands related to Git branches.
55
+
1. The repository folder should now be open in your VS Code project. Click on `main` at the bottom left of the VS Code window. This will bring up the Command Palette with the commands related to Git branches.
56
56

57
57
1. Click **Create new branch** and enter any branch name you'd like, such as `my-slide`. Then press <kbd>Enter</kbd>.
58
-
1. When asked to select the ref to create the branch from, select `master`.
58
+
1. When asked to select the ref to create the branch from, select `main`.
59
59
1. Go to the Source Control view, click on the ellipsis (...) and select **Push**. Confirm the dialog box asking you to publish the branch.
60
60

61
61
62
62
{% else %}
63
63
64
64
1. Navigate to the [Code tab]({{ thePayload.repository.html_url }})
65
-
2. Click **Branch: master** in the drop-down
65
+
2. Click **Branch: main** in the drop-down
66
66
3. In the field, enter a name for your branch, like `my-slide`
67
67
4. Click **Create branch: <name>** or press the <kbd>Enter</kbd> key to create your branch
Copy file name to clipboardexpand all lines: responses/04_commit-something.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
:tada: You created a branch!
4
4
5
-
Creating a branch allows you to make modifications to your project without changing the deployed `master` branch. Now that you have a branch, it’s time to create a file and make your first commit!
5
+
Creating a branch allows you to make modifications to your project without changing the deployed `main` branch. Now that you have a branch, it’s time to create a file and make your first commit!
Copy file name to clipboardexpand all lines: responses/05_open-a-pr.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,13 @@ Let’s think back to the GitHub flow again. You have created a branch, added a
14
14
<hr>
15
15
</details>
16
16
17
-
This pull request is going to keep the changes you just made on your branch and propose applying them to the `master` branch.
17
+
This pull request is going to keep the changes you just made on your branch and propose applying them to the `main` branch.
18
18
19
19
### :keyboard: Activity: Create a pull request
20
20
21
21
1. Open a pull request using [this shortcut]({{ url }}) or manually as follows:
22
22
- From the "Pull requests" tab, click **New pull request**
23
-
- In the "base:" drop-down menu, make sure the "master" branch is selected
23
+
- In the "base:" drop-down menu, make sure the "main" branch is selected
24
24
- In the "compare:" drop-down menu, select "{{ branch | remove: 'refs/heads/' }}"
25
25
1. When you’ve selected your branch, enter a title for your pull request. For example `Add {{ user.username }}'s file`
26
26
1. The next field helps you provide a description of the changes you made. Feel free to add a description of what you’ve accomplished so far. As a reminder, you have: created a branch, created a file and made a commit, and opened a pull request
Copy file name to clipboardexpand all lines: responses/06_fix-base.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
-
Your base branch should be named `master`. Let's open a new pull request to fix this.
1
+
Your base branch should be named `main`. Let's open a new pull request to fix this.
2
2
3
3
### :keyboard: Activity: Adjust PR direction
4
4
5
5
1. Click on the **Edit** button located to the right of your pull request's title
6
-
1. Below the title's comment box, in the "base:" drop-down menu, make sure the “master” branch is selected
6
+
1. Below the title's comment box, in the "base:" drop-down menu, make sure the “main” branch is selected
7
7
1. A pop-up window will appear asking if you want to change the "base". Click the green **Change base** button
8
8
9
9
If you would like assistance troubleshooting the issue you are encountering, create a post on the [GitHub Community]({{ communityBoard }}) board. You might also want to search for your issue to see if other people have resolved it in the past.
Copy file name to clipboardexpand all lines: responses/es/01_turn-on-gh-pages.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
11
11
1. Haz clic en la pestaña [**Settings**]({{ repoUrl }}/settings) de este repositorio
12
12
1. Navega a la sección de GitHub Pages
13
-
1. En la lista llamada "Source" selecciona **master branch**
13
+
1. En la lista llamada "Source" selecciona **main branch**
14
14
15
15
> Nota: Aunque puedes ver una opción para escoger un tema, no apliques ningún tema en este momento. Hemos protegido el código para que no puedas hacer cambios involuntarios. Tendrás oportunidad de usar un tema cuando terminemos el curso.
Copy file name to clipboardexpand all lines: responses/es/03_create-a-branch.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -10,12 +10,12 @@ Completemos el primer paso del flujo de GitHub: crear una rama (o _branch_) <sup
10
10
11
11
Acabas de aprender cómo crear una rama—el primer paso del flujo de GitHub.
12
12
13
-
Las ramas son una parte importante del flujo de GitHub porque nos permite separar nuestro trabajo de la rama principal o `master`. En otras palabras, el trabajo de todos está a salvo mientras aportas contribuciones.
13
+
Las ramas son una parte importante del flujo de GitHub porque nos permite separar nuestro trabajo de la rama principal o `main`. En otras palabras, el trabajo de todos está a salvo mientras aportas contribuciones.
14
14
15
15
### Tips para usar ramas
16
-
Un solo proyecto puede tener cientos de ramas, cada una sugiriendo un nuevo cambio a la rama principal o `master`.
16
+
Un solo proyecto puede tener cientos de ramas, cada una sugiriendo un nuevo cambio a la rama principal o `main`.
17
17
18
-
La mejor manera de mantener tus ramas organizadas en un equipo es mantenerlas concisas y efímeras. En otras palabras, una sola rama debería representar solamente una nueva característica o una corrección de errores. Esto permite que haya menos confusión entre colaboradores cuando las ramas solamente están activas por unos días antes de que sean fusionadas <sup>[:book:](https://help.github.com/articles/github-glossary/#merge)</sup> con la rama principal o `master`.
18
+
La mejor manera de mantener tus ramas organizadas en un equipo es mantenerlas concisas y efímeras. En otras palabras, una sola rama debería representar solamente una nueva característica o una corrección de errores. Esto permite que haya menos confusión entre colaboradores cuando las ramas solamente están activas por unos días antes de que sean fusionadas <sup>[:book:](https://help.github.com/articles/github-glossary/#merge)</sup> con la rama principal o `main`.
19
19
20
20
<hr>
21
21
</details>
@@ -51,17 +51,17 @@ La mejor manera de mantener tus ramas organizadas en un equipo es mantenerlas co
51
51
{{ thePayload.repository.clone_url }}
52
52
```
53
53
1. Selecciona la ubicación en el que quieres guardar el repositorio y haz clic en **Choose folder**. Después, abre la ubicación que seleccionaste.
54
-
1. El directorio del repositiorio debería estar ahora abierto en tu proyecto de VS Code. Haz clic en `master` en la parte inferior de la ventana de VS Code. Esto abrirá la Paleta de Comandos con todos los comandos relacionados a ramas de Git.
54
+
1. El directorio del repositiorio debería estar ahora abierto en tu proyecto de VS Code. Haz clic en `main` en la parte inferior de la ventana de VS Code. Esto abrirá la Paleta de Comandos con todos los comandos relacionados a ramas de Git.
55
55

56
56
1. Haz clic en **Create new branch** e ingresa cualquier nombre que le quieras dar a tu rama, como `mi-rama`. A continuación, presiona <kbd>Enter</kbd>.
57
-
1. Cuando te hagan seleccionar la rama que servirá de referencia para tu nueva rama, selecciona `master`.
57
+
1. Cuando te hagan seleccionar la rama que servirá de referencia para tu nueva rama, selecciona `main`.
58
58
1. Ve a la vista de Source Control, haz clic en los punto suspensivos (...) y selecciona **Push**. En la caja de diálogo preguntándote si quieres publicar tu rama, confirma que sí.
59
59

60
60
61
61
{% else %}
62
62
63
63
1. Navega a la [pestaña titulada Code]({{ thePayload.repository.html_url }})
64
-
2. Haz clic en **Branch: master** en el desplegable
64
+
2. Haz clic en **Branch: main** en el desplegable
65
65
3. En el campo, ingresa un nombre para tu rama, como `mi-rama`
66
66
4. Haz clic en **Create branch: <nombre>** o presiona la tecla "Enter" para crear tu rama
Copy file name to clipboardexpand all lines: responses/es/04_commit-something.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
:tada: ¡Haz creado una rama!
4
4
5
-
Crear una rama te permite hacer modificaciones a tu proyecto sin tener que cambiar la rama `master`. Ahora que tienes una rama, es hora de crear un archivo y ¡hacer tu primera confirmación de cambios!
5
+
Crear una rama te permite hacer modificaciones a tu proyecto sin tener que cambiar la rama `main`. Ahora que tienes una rama, es hora de crear un archivo y ¡hacer tu primera confirmación de cambios!
Copy file name to clipboardexpand all lines: responses/es/05_open-a-pr.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,13 @@ Pensemos de nuevo en el flujo de GitHub. Has creado una rama, agregaste un archi
14
14
<hr>
15
15
</details>
16
16
17
-
Esta solicitud de extracción mantendrá los cambios que hiciste dentro de tu rama y propondrá aplicarlos a la rama `master`.
17
+
Esta solicitud de extracción mantendrá los cambios que hiciste dentro de tu rama y propondrá aplicarlos a la rama `main`.
18
18
19
19
### :keyboard: Actividad: Crea una solicitud de extracción
20
20
21
21
1. Abre una solicitud de extracción usando [este atajo]({{ url }}) o manualmente, así:
22
22
- Desde la pestaña "Pull requests", haz clic en **New pull request**
23
-
- En la lista desplegable llamada "base:", asegúrate que la rama "master" esté seleccionada
23
+
- En la lista desplegable llamada "base:", asegúrate que la rama "main" esté seleccionada
24
24
- En la lista desplegable llamada "compare:", selecciona "{{ branch | remove: 'refs/heads/' }}"
25
25
1. Cuando hayas seleccionado tu rama, escribe un título para tu solicitud de extracción. Por ejemplo `Añadir el archivo de {{ user.username }}`
26
26
1. El siguiente campo te ayuda a agregar una descripción de los cambios que has hecho. Agrega una descripción de los cambios que has hecho hasta ahora. Recordatorio: has creado una rama, creado un archivo e iniciado la confirmación de cambios correspondiente y por último has abierto una solicitud de extracción
Copy file name to clipboardexpand all lines: responses/es/06_fix-base.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
-
Tu rama base debe llamarse `master` (principal). Vamos a abrir una nueva solicitud de extracción para arreglar esto.
1
+
Tu rama base debe llamarse `main` (principal). Vamos a abrir una nueva solicitud de extracción para arreglar esto.
2
2
3
3
1. Haz clic en el botón **Edit** que está localizado a la derecha del título de la solicitud de extracción.
4
-
1. Debajo de la cajita del título del comentario, en el menú desplegable "base:", asegúrate que la rama “master” esté seleccionada.
4
+
1. Debajo de la cajita del título del comentario, en el menú desplegable "base:", asegúrate que la rama “main” esté seleccionada.
5
5
1. Una ventana pop-up va a aparecer para preguntar si quieres cambiar la "base". Haz clic en el botón verde titulado **Change base**
6
6
7
7
Si necesitas ayuda buscando una solución a tu problema, crea una publicación en [GitHub Community]({{ communityBoard }}). También puedes buscar otras publicaciones acerca de tu problema si otras personas lo han resuelto previamente.
Copy file name to clipboardexpand all lines: responses/fr/01_turn-on-gh-pages.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Maintenant, au boulot ! GitHub Pages vous permet de servir un site statique à p
10
10
11
11
1. Cliquez sur l'onglet [**Settings**]({{ repoUrl }}/settings) de ce dépôt
12
12
1. Défilez jusqu'à la section "GitHub Pages"
13
-
1. Depuis le menu déroulant "Source", selectionnez **master branch**
13
+
1. Depuis le menu déroulant "Source", selectionnez **main branch**
14
14
15
15
> Note : même si vous voyez une option pour choisir un thème, n'appliquez pas de thème à ce stade. Nous avons protégé le code afin que vous ne puissiez pas apporter de modifications involontaires. Vous aurez la possibilité d'appliquer un thème une fois le cours terminé.
0 commit comments