About collaboration in a personal repository
To collaborate with users in a repository that belongs to your personal account on GitHub, you can invite the users as collaborators.
If you want to grant more granular access to the repository, you can create a repository within an organization. For more information, see Zugriffsberechtigungen auf GitHub.
If you're a member of an Unternehmen mit verwalteten Benutzer*innen, you can only invite other members of your enterprise to collaborate with you. Weitere Informationen finden Sie unter Arten von GitHub-Konten.
Private Forks erben die Berechtigungsstruktur des Upstreamrepositorys. Dies hilft den Inhabern privater Repositorys, die Kontrolle über ihren Code zu behalten. Wenn das vorgelagerte Repository beispielsweise privat ist und einem Team Lese-/Schreibzugriff gibt, wird dasselbe Team Lese-/Schreibzugriff auf alle Forks des privaten vorgelagerten Repository haben. Nur Teamberechtigungen (nicht einzelne Berechtigungen) werden von privaten Forks geerbt.
Hinweis
Wenn Sie Basisberechtigungen für eine Organisation ändern, werden Berechtigungen für private Forks nicht automatisch aktualisiert. Weitere Informationen findest du unter Festlegen von Basisberechtigungen für eine Organisation.
Inviting a collaborator to a personal repository
You can send an invitation to collaborate in your repository directly to someone on GitHub, or to the person's email address.
GitHub limits the number of people who can be invited to a repository within a 24-hour period. If you exceed this limit, either wait 24 hours or create an organization to collaborate with more people. For more information, see Eine neue Organisation von Grund auf erstellen.
-
Ask for the username of the person you're inviting as a collaborator. If they don't have a username yet, they can sign up for GitHub. For more information, see Erstellen eines Kontos auf GitHub.
-
Navigieren Sie auf GitHub zur Hauptseite des Repositorys.
-
Wähle unter dem Namen deines Repositorys die Option Einstellungen aus. Wenn die Registerkarte „Einstellungen“ nicht angezeigt wird, wähle im Dropdownmenü die Option Einstellungen aus.
-
In the "Access" section of the sidebar, click Collaborators.
-
Click Add people.
-
In the search field, start typing the name of person you want to invite, then click a name in the list of matches.
-
Click Add NAME to REPOSITORY.
-
The user will receive an email inviting them to the repository. Once they accept your invitation, they will have collaborator access to your repository.