收集GitHub使用技巧
Shortcut | Description | Shortcut | Description |
---|---|---|---|
Site wide shortcuts | ———— | Commit list | ———— |
s | Focus search bar | y | Expand URL to its canonical form |
g n | Go to Notifications | Dashboards | ———— |
g d | Go to Dashboard | g i | Go to your issues |
? | Bring up this help dialog | g p | Go to your pull requests |
j / shift / | Move selection down | Notifications | ———— |
k | Move selection up | e / I / y | Mark as read |
x | Toggle selection | shift m | Mute thread |
o / enter | Open selection | Pull request list | ———— |
Repositories | ———— | r | Reply (quoting selected text) |
g c | Go to Code | o / enter | Open issue |
g i | Go to Issues | ctrl enter | Submit comment |
g p | Go to Pull Requests | ctrl shift p | Preview comment |
g w | Go to Wiki | q | Request reviewers |
Source code browsing | ———— | Pull request review bar | ———— |
t | Activates the file finder | c | Open commits list |
l | Jump to line | t | Open files list |
w | Switch branch/tag | n | Next commit |
y | Expand URL to its canonical form | p | Previous commit |
i | Show/hide all inline notes | Network Graph | ———— |
Issues | ———— | ←/h | Scroll left |
ctrl enter | Submit comment | →/l | Scroll right |
ctrl shift p | Preview comment | ↑/k | Scroll up |
c | Create issue | ↓/j | Scroll down |
/ | Focus issues search bar | t | Toggle visibility of head labels |
u | Filter by author | shift ← / shift h | Scroll all the way left |
l | Filter by or edit labels | shift → / shift l | Scroll all the way right |
m | Filter by or edit milestones | shift ↑ / shift k | Scroll all the way up |
a | Filter by or edit assignee | shift ↓ / shift j | Scroll all the way down |
r | Reply (quoting selected text) | ||
Browsing commits | ———— | ||
ctrl enter | Submit comment | ||
escape | Close form | ||
p | Parent commit | ||
o | Other parent commit |
- Trending: 开源项目排名
- Explore: 查找有趣的项目和问题
- News Feed: 关注的人和项目组织的动向
- Jobs: 求职与招聘
- Resume: 制作个人简历
- Gist: 代码片段,收藏夹,私有笔记,嵌入其他站点,简单博文,在gist后面加
.pibb
得到纯HTML页面可以直接其他页面iframe
引用,如 pibb - Advanced Search: 增强查找
- Webhooks: 事件触发,消息推送
- Blog: GitHub官方博客,查看最新公告与特性
- SVN: GitHub不仅支持Git,还支持SVN
- Code frequency: 查看代码增删,判断软件好坏
- Punch card: 查看项目代码提交时间点
- gh-pages: 分支作为静态站点
- TODD list: 任务列表,Markdown写成,可以动态更新
- GitHub issues: 做Blog或者BBS
- GitHub API: 强大的第三方接口,比如 markdown渲染 oAuth第三方登录
- Docs: 第三方文档托管 Read the Docs GitBook
- Repository: 代码托管,图床,网盘
- raw/camo: 托管js或css文件
- Gollum Wiki: 构建Wiki系统
- Sport Scheme: 健身计划与签到
- Collaboration: Swift Translate,
https://github.com/rails/rails/compare/master...4-1-stable
: 分支比较,版本https://github.com/rails/rails/compare/master@{1.day.ago}...master https://github.com/rails/rails/compare/master@{2014-10-04}...master
: 分支比较,日期https://github.com/rails/rails/compare/byroot:master...master
: 与派生仓库比较https://github.com/rails/rails/commits/master?author=dhh
: 查看某个作者的提交历史
- OctoDroid: 第三方手机GitHub app