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
To be able to contribute to the `git-training-demo`
20
+
repository your instructors will have to give you access.
21
+
They are going to showcase this now.
22
+
The steps are:
23
+
24
+
In the repository page on GitHub, click the "Settings"
25
+
button on the right, select "Collaborators",
26
+
click "Add people", and enter a username/s.
27
+
28
+
{alt='A screenshot of the GitHub Collaborators settings page, which is accessed by clicking "Settings" then "Collaborators".'}
29
+
30
+
To accept access to the repository, you will
31
+
need to go to [https://github.com/notifications](https://github.com/notifications)
32
+
or check for an email notification.
33
+
Once there you can accept access to the repository.
34
+
35
+
## Permission Levels
36
+
37
+
### Personal Repositories
38
+
39
+
Repositories on personal accounts only have
40
+
two levels of permissions, the Owner and Collaborators[^permission-personal].
41
+
To use the branching model in this lesson you would need
42
+
adding as a collaborator.
43
+
You can still contribute to a public repository without being added
44
+
as a collaborator by using the forking model.
45
+
46
+
[^permission-personal]: The [GitHub documentation](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/permission-levels-for-a-personal-account-repository) has more information on
47
+
permissions for a repository on a personal account.
48
+
49
+
### Organisational Repositories
50
+
51
+
Repositories in organisations have more levels of permissions[^permission-org].
52
+
Team members require at least **write** access to use the branching model.
53
+
For all lower levels of access use the forking model.
54
+
55
+
[^permission-org]: The [GitHub Documentation](https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization) has more information on the
56
+
different permission levels for repositories in organisations.
@@ -31,23 +32,79 @@ Here's some advice for writing good Issues:
31
32
- Break up large Issues into several small ones and or
32
33
use checklists to track tasks in the Issue
33
34
34
-
{alt='A screenshot of a GitHub Issue.'}
35
+
Open an Issue on the `git-training-demo` repository
36
+
to add a file stating your favourite cloud type.
37
+
38
+
Navigate to the **Issues** tab:
39
+
40
+
{alt='A screenshot of the git-training-demo repository showing the Issues view.'}
41
+
42
+
This repositories Issue tab looks different to the `weather`
43
+
repository you worked on in the Introduction to Git & GitHub lesson.
44
+
It uses [Issue templates](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository)
45
+
to provide templates for bugs and feature requests.
46
+
Click on the green **Get started** button next to the
47
+
**Feature request** option:
48
+
49
+
{alt='A screenshot of the git-training-demo repository showing an Issue being opened. The template has automatically added text to the description and labelled the Issue as an enhancement.'}
50
+
51
+
You can see the Issue has text in the description already.
52
+
This is from the template which provides a consistent
53
+
structure to the Issues on this repo.
54
+
The template has also added the `enhancement` label for you.
55
+
56
+
Add in a clear title such as
57
+
"Add mo-fitzroy's favourite cloud type",
58
+
replace 'mo-fitzroy' with your GitHub username.
59
+
Click **Submit new issue**.
60
+
61
+
::::::::::::::::::::::::::::::::::::: instructor
62
+
63
+
It's a good idea to remind learners that
64
+
images can be dropped straight into the
65
+
Issue description.
66
+
An image of a cloud should do!
67
+
68
+
::::::::::::::::::::::::::::::::::::::::::::::::
69
+
70
+
### Projects, milestones, and labels
71
+
72
+
Your instructor has set up a Project and some custom milestones
0 commit comments