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

相关推荐
阿里嘎多学长2 小时前
2026-01-11 GitHub 热点项目精选
开发语言·程序员·github·代码托管
三两肉2 小时前
HTTPS ECDHE 握手全解析
网络协议·https·github·rsa·echde
啊湘2 小时前
vscode 使用 github (适用CURSOR等使用)
ide·vscode·github·cursor·mcp
l1t3 小时前
利用DeepSeek辅助拉取GitHub存储库目录跳过特定文件方法
人工智能·github·deepseek
Hilaku3 小时前
我用 Gemini 3 Pro 手搓了一个并发邮件群发神器(附源码)
前端·javascript·github
hui函数5 小时前
Python系列Bug修复|如何解决 pip install 安装报错 invalid command ‘bdist_wheel’(缺少 wheel)问题
python·bug·pip
hui函数5 小时前
Python系列Bug修复|如何解决 pip install -r requirements.txt 私有索引未设为 trusted-host 导致拒绝 问题
python·bug·pip
逛逛GitHub5 小时前
GitHub 上 2300 人 Star 的 Claude Code 可视化工作流编辑器。
github
hui函数6 小时前
Python系列Bug修复|如何解决 pip install 安装报错 Backend ‘setuptools.build_meta’ 不可用 问题
python·bug·pip