Github 新玩法 -- Profile ReadMe

时间:2023-03-08 16:11:55

Github 新玩法 -- Profile ReadMe

Intro

今天刷 Github 的时候偶然发现一个新的玩法,Github Profile ReadMe,可以在个人的 Profile 页面展示一个自定义的 ReadMe

操作步骤

新建仓库

需要新建一个和 Github 用户名相同的仓库,新建时会有下面这样的提示

Github 新玩法 -- Profile ReadMe

仓库需要是 Public 的,根据自己需要修改 ReadMe 的内容

Profile

创建上面的仓库之后就可以在自己的 Profile 页面看到效果了,Profile 地址就是 github + 用户名 https://github.com/<userName>

示例

下面是我的 Profile 页面的效果

Github 新玩法 -- Profile ReadMe

图中红框圈出来的部分是新增的,就是从上面的仓库的 ReadMe 里的内容

More

经过测试,目前该功能只支持个人,不支持组织

内容方面,Github 给出了一些建议和提示,Github 自动生成的 ReadMe 有一部分被注释掉了,内容如下:

<!--
**WeihanLi/WeihanLi** is a _special_ repository because its `README.md` (this file) appears on your GitHub profile. Here are some ideas to get you started: -