GitHub使用指南

1. 搜索

1.1 限定符搜索:快捷键:s

检索内容:react.js start:>3000 pushed:>2021-05-10 language:javascript

检索结果:

限定符查询:About searching on GitHub - GitHub DocsOur integrated search covers the many repositories, users, and lines of code on GitHub.https://docs.github.com/cn/search-github/getting-started-with-searching-on-github/about-searching-on-github

1.2 高级搜索

1. 3 查看文件:快捷键 t

点击对应文件之后,跳转到对应行:快捷键:L

 点击行号,可快速复制这行代码,也可生成永久链接

在文件中还可查看文件改动记录,快捷键:b

2. 快捷键

除了上面的快捷键,githun还有很多其他快捷键
键盘快捷键 - GitHub Docs几乎 GitHub 上的每一页都有键盘快捷键,可以更快地执行操作。https://docs.github.com/cn/get-started/using-github/keyboard-shortcuts

3. github的控制面板:快捷键ctrl+k

GitHub Command Palette - GitHub DocsUse the command palette in GitHub to navigate, search, and run commands directly from your keyboard.https://docs.github.com/cn/get-started/using-github/github-command-palette

4. 代码阅读

github还可以打开网页版vscode,在仓库详情页按下快捷键,快捷键:.  

注意:如果不能打开 ,试着切换下中英文试试。

跟vs code编辑器完全一致

5. 项目在线运行

在项目地址前面加上gitpod.io/#

// 据说每个月提供50小时的免费时长
https://gitpod.io/#https://github.com/facebook/react

直接在线打开vs code

 

6. 项目推送

设置推送

完结!

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值