git 将合作者添加到我的免费 GitHub 帐户?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7920320/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Adding a collaborator to my free GitHub account?
提问by Artemix
I created a GitHub account, and I want to give someone write access so he can push just like me, there is a way to add a collaborator with a free plan? If not, what can I do? (besides buying a paid account, which I'll do in the future)
我创建了一个 GitHub 帐户,我想授予某人写入权限,以便他可以像我一样进行推送,有没有办法添加具有免费计划的合作者?如果没有,我该怎么办?(除了购买付费帐户,我将来会这样做)
采纳答案by BKSpurgeon
Clear Instructions On How to Add A Collaborator - 2020 Update
关于如何添加协作者的明确说明 - 2020 年更新
Pictures are worth a thousand words. Let's put that to the test:
图片值一千字。让我们来测试一下:
Picture Instructions (Click to Zoom in):
图片说明(点击放大):
.......and videos/gifs are worth another thousand more:
.......而且视频/gifs 还值一千多:
Gif Instructions (Click to Zoom in):
Gif 说明(点击放大):
Hopefully the pictures/gif make it easier for you to configure this!
希望图片/gif 能让您更轻松地进行配置!
回答by manojlds
Go to Manage Access
page under settings (https://github.com/user/repo/settings/access) and add the collaborators as needed.
转到Manage Access
设置下的页面 ( https://github.com/user/repo/settings/access) 并根据需要添加协作者。
Screenshot:
截屏:
回答by David M. Syzdek
It is pretty easy to add a collaborator to a free plan.
在免费计划中添加合作者非常容易。
- Navigate to the repository on Github you wish to share with your collaborator.
- Click on the "Settings" tab on the right side of the menu at the top of the screen.
- On the new page, click the "Collaborators" menu item on the left side of the page.
- Start typing the new collaborator's GitHub username into the text box.
- Select the GitHub user from the list that appears below the text box.
- Click the "Add" button.
- 导航到您希望与合作者共享的 Github 存储库。
- 单击屏幕顶部菜单右侧的“设置”选项卡。
- 在新页面上,单击页面左侧的“协作者”菜单项。
- 开始在文本框中键入新协作者的 GitHub 用户名。
- 从文本框下方显示的列表中选择 GitHub 用户。
- 单击“添加”按钮。
The added user should now be able to push to your repository on GitHub.
添加的用户现在应该能够推送到您在 GitHub 上的存储库。
回答by SLaks
In the repository, click Admin
, then go to the Collaborators
tab.
在存储库中,单击Admin
,然后转到Collaborators
选项卡。
回答by Al Lelopath
FYI for future readers. The instructions above are outdated, in particular step 2:
2. Click on Settingsbutton
供未来读者参考。上面的说明已经过时了,特别是第 2 步:
2. 点击设置按钮
回答by rockstar
Yes the set of instructions above are outdated. For the new GitHub the Settings button must be clicked.
是的,上面的一组说明已经过时了。对于新的 GitHub,必须单击设置按钮。
Also the person you try to add as a collaborator must have an existing GitHub account. In other words he should have signed up on GitHub first because it is not possible to send collaboration requests merely by typing in the email address of the collaborator.
此外,您尝试添加为协作者的人必须拥有现有的 GitHub 帐户。换句话说,他应该先在 GitHub 上注册,因为仅仅通过输入协作者的电子邮件地址是不可能发送协作请求的。
回答by Milon
回答by Suragch
2020 update
2020年更新
It's called Manage accessnow.
它现在称为管理访问。
Go to your private repo, click the Settingstab, and choose Manage accessfrom the menu on the left. You are allowed up to three collaborators with the free plan.
转到您的私人存储库,单击“设置”选项卡,然后从左侧菜单中选择“管理访问”。免费计划最多允许您有三个合作者。
Note:If the account is an individual account you can still add collaborators that can do a variety of tasks, but a collaborator can't (as far as I know) sign the app in Xcode and submit it to the app store. You need an organization account for that kind of collaborator.
注意:如果帐户是个人帐户,您仍然可以添加可以执行各种任务的协作者,但协作者不能(据我所知)在 Xcode 中签署应用程序并将其提交到应用程序商店。您需要为此类协作者创建一个组织帐户。
回答by ComDubh
Please note that Github now allows an unlimited number of collaboratorseven on a free account. See https://github.com/pricing.
请注意,即使是免费帐户,Github 现在也允许无限数量的协作者。请参阅https://github.com/pricing。