准备工作

①注册一个邮箱

②使用邮箱注册一个github小号

方式①在Linux.Do中拼车

Copilot开车平台获取你的ID

白嫖GithubCopilot - 图1

在linuxdo论坛的拼车频道找车位

在帖子中留下上一步获取的ID,上车后会有显示所在车信息

白嫖GithubCopilot - 图2

在编译器中使用

白嫖GithubCopilot - 图3

白嫖GithubCopilot - 图4

VisualStudio需要下面操作

白嫖GithubCopilot - 图5

方式②加入甘总Copilot组织

打开甘佬的GitHub组织,填写你的邮箱

白嫖GithubCopilot - 图6

收到邮件后点击加入

白嫖GithubCopilot - 图7

勾选下图,点击加入

白嫖GithubCopilot - 图8

提示加入成功

白嫖GithubCopilot - 图9

这时你可以在设置中看到已经有了Copilot权限

白嫖GithubCopilot - 图10

为社区共享自己的ghu

打开cocopilot拼车平台

白嫖GithubCopilot - 图11

白嫖GithubCopilot - 图12

出现下图表示成功

白嫖GithubCopilot - 图13

回到刚刚的页面,就出现了ghu开头的Token

白嫖GithubCopilot - 图14

打开ghu提交平台,粘贴上图的Token

白嫖GithubCopilot - 图15

在编译器中使用

可参考官方文档