5个隐藏的GitHub神技巧,助你秒变大佬!
Sonder
2022-05-27
643字
2分钟
浏览 (4.1k)
图片来源于 github,加载可能会慢!
1.搜索
github高级搜索功能
直接打开这里GitHub · Where software is built
或搜索后在搜索页面 language 下方打开(没找到更好的方法)

更多技巧可查看官方文档:
About searching on GitHub - GitHub Docs
2.查找文件
在主页按“t”:查找文件

点进源代码后,按“l”:跳转到某一行

点击行号:
- 复制这行代码
- 生成永久链接

源代码中按“b”:查看文件的改动记录

键盘快捷键:
3.阅读代码技巧
代码跳转:
- 下载到本地
- 在线vscode:仓库详情界面按下“。”键,


4.在线运行项目
在项目地址前加上gitpod.io/#/
前缀
https://github.com/nginx/nginx => https://gitpod.io/#/github.com/nginx/nginx
登陆:

加载:

运行:

5.项目推送
根据自己的喜好让github推送自己感兴趣的优质项目

获取邮件更新:
