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 小时前
用PR merge的时候出现冲突怎么办?
git·github
小华同学ai3 小时前
6.4K star!轻松搞定专业领域大模型推理,这个知识增强框架绝了!
前端·github
uhakadotcom4 小时前
Google Cloud IoT 平台入门:基础架构与示例详解
后端·面试·github
uhakadotcom4 小时前
程序化广告十年总结:通俗易懂的基础知识与实战案例解析
后端·面试·github
小华同学ai5 小时前
29.1K star!免费接入GPT-4/DeepSeek等顶级大模型,这个开源API神器绝了!
github
uhakadotcom6 小时前
如何在亚马逊Inferentia2芯片上部署和监控DeepSeek-R1蒸馏模型
算法·面试·github
逛逛GitHub7 小时前
这个 MCP 大本营发布,1400+ 工具等你来接。
人工智能·github
uhakadotcom8 小时前
PyTorch 2.0 一行代码加速模型,简单易懂的基础介绍和实用示例
后端·面试·github
Andy3229 小时前
027 期 数据安全新招!你的数据守护神来了?
安全·github
may_一一9 小时前
GitHub配置密钥
github