diff --git a/00-repo-access.html b/00-repo-access.html new file mode 100644 index 0000000..3cacdf9 --- /dev/null +++ b/00-repo-access.html @@ -0,0 +1,549 @@ + +Git Working Practices: Repository Access +
+ Git Working Practices +
+ +
+
+ + + + + +
+
+

Repository Access

+

Last updated on 2025-01-09 | + + Edit this page

+ + + +
+ +
+ + + +
+

Overview

+
+
+
+
+

Questions

+
  • What levels of repository permissions are there?
  • +
+
+
+
+
+
+

Objectives

+
  • Know how to give a collaborator access to your repository.
  • +
+
+
+
+
+

To be able to contribute to the git-training-demo +repository your instructors will have to give you access. They are going +to showcase this now. The steps are:

+

In the repository page on GitHub, click the “Settings” button on the +right, select “Collaborators”, click “Add people”, and enter a +username/s.

+
A screenshot of the GitHub Collaborators settings page, which is accessed by clicking "Settings" then "Collaborators".
A screenshot of the GitHub Collaborators +settings page for a public personal repository, which is accessed by +clicking “Settings” then “Collaborators”.
+

To accept access to the repository, you will need to go to https://github.com/notifications +or check for an email notification. Once there you can accept access to +the repository.

+

Permission Levels

+
+

Personal Repositories

+

Repositories on personal accounts only have two levels of +permissions, the Owner and Collaborators1. To use the branching +model in this lesson you would need adding as a collaborator. You can +still contribute to a public repository without being added as a +collaborator by using the forking model.

+
+
+

Organisational Repositories

+

Repositories in organisations have more levels of permissions2. Team +members require at least write access to use the +branching model. For all lower levels of access use the forking +model.

+
+
+ +
+
+

Key Points

+
+
+
+
+
+
+
  1. The GitHub +documentation has more information on permissions for a repository +on a personal account.↩︎

  2. +
  3. The GitHub +Documentation has more information on the different permission +levels for repositories in organisations.↩︎

  4. +
+ + + +
+
+ + +
+
+
+ +
Back To Top +
+
+ + diff --git a/01-issues.html b/01-issues.html index 47494ee..e134c86 100644 --- a/01-issues.html +++ b/01-issues.html @@ -18,13 +18,13 @@
-