material/tool/git/github.md
RongersLY 93cecd7544 BIG MERGE!!!
BIG ADD:
- docker
- archlinux

FIX:
- vim
- c_cpp
  - string hash
  - linux /dev/random
  - thread
  - STL
- linux
  - command
    - last

OTHERS:
- add antenna.md
- mirrors
- makefile.md
2025-04-04 17:35:35 +08:00

1.6 KiB
Raw Permalink Blame History

github

目录

  1. 限定搜索范围
  • in:name:搜索仓库名称。
  • in:description:搜索仓库描述。
  • 使用is:issueis:pr搜索Issue或Pull Request。
  • 星标筛选:使用stars:>1000筛选星标数超过1000的项目。
  • fork数量筛选:使用forks:>100筛选fork数量超过100的项目。
  • 语言筛选:使用language:java筛选使用Java语言的项目。
  • 仓库大小筛选:使用size:>=1000筛选仓库大小超过1000KB的项目。
  • 更新时间筛选:使用pushed:>2020-01-01筛选自2020年1月1日之后有更新的项目。
  • 搜索特定用户或组织的仓库:使用user:usernameorg:organization
  • 搜索特定文件:使用filename:README.md搜索包含特定文件名的项目。
  • 搜索代码必须登录GitHub账户且仅对默认分支和小于384KB的文件进行索引。
  1. 排序搜索结果
  • 按交互排序sort:interactions按反应和评论的最高组合数排序。
  • 按反应排序sort:reactions按最高反应数排序。
  • 按作者日期排序sort:author-date按作者日期降序排序。

加速器 https://cloud.tsinghua.edu.cn/d/df482a15afb64dfeaff8/ 推送到github git remote add origin https:// git branch -M master git push -u origin master

github访问令牌 创建: 用户头像 -> setting -> 最后一项 -> 创建令牌 tips:令牌要当场复制,离开页面就没有了

使用:
	git remote set-url origin https://<your_token>@github.com/<USERNAME>/<REPO>.git