github技巧和bug解决方法短篇收集

有一些几句话就可以说明白的观点或者解决的的问题,小虎单独收集到这里。

Commits没有算入每天的activity

fork的仓库是不算的。

Commits made in a fork will not count toward your contributions.
参考
Contribution activity not shown for github page

移除已忽略的文件Remove ignored file in .gitignore

The rules in your .gitignore file only apply to untracked files. Since the files under that directory were already committed in your repository, you have to unstage them, create a commit, and push that to GitHub:

复制代码
git rm -r --cached your_file
git commit -m 'Remove the now ignored file'
git push origin master

参考:

https://stackoverflow.com/a/7927283/15329637

引用github仓库Cite github repo


参考:

https://academia.stackexchange.com/questions/14010/how-do-you-cite-a-github-repository

github仓库数据查看Github repo data

相关推荐
qianmoQ2 小时前
GitHub 趋势日报 (2025年05月31日)
github
油泼辣子多加3 小时前
2025年06月06日Github流行趋势
github
粥里有勺糖4 小时前
视野修炼-技术周刊第122期 | 发光图片制作
前端·javascript·github
qianmoQ4 小时前
GitHub 趋势日报 (2025年06月05日)
github
小馒头君君4 小时前
3 个优质的终端 GitHub 开源工具
github
东方不败之鸭梨的测试笔记5 小时前
20250605车充安服务器受木马攻击导致服务不可用
bug
Htht1115 小时前
【Qt】之【Get√】【Bug】通过值捕获(或 const 引用捕获)传进 lambda,会默认复制成 const
数据库·bug
MarkHD7 小时前
AI编程助手入门指南:GitHub Copilot、Cursor与Claude的安装与基础使用
github·copilot·ai编程
前端发现9 小时前
如何用 pnpm patch 给 element-plus 打补丁修复线上 bug(以 2.4.4 修复 PR#15197 为例)
bug
追逐时光者9 小时前
2个 GitHub 实用辅助神器,帮你快速了解和上手 GitHub 开源项目(附带 GitHub 加速神器)!
github