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

相关推荐
范纹杉想快点毕业4 小时前
以项目的方式学QT开发(一)——超详细讲解(120000多字详细讲解,涵盖qt大量知识)逐步更新!
c语言·数据结构·c++·git·qt·链表·github
tonngw6 小时前
【Mac 从 0 到 1 保姆级配置教程 12】- 安装配置万能的编辑器 VSCode 以及常用插件
git·vscode·后端·macos·开源·编辑器·github
八股文领域大手子7 小时前
HTTP/1.1 host虚拟主机详解
github
HORSE RUNNING WILD10 小时前
解决 PicGo 上传 GitHub图床及Marp中Github图片编译常见难题指南
css·python·github
qianmoQ11 小时前
GitHub 趋势日报 (2025年05月13日)
github
%d%d213 小时前
undefined reference to CPUAllocatorSingleton::instance
bug
lkbhua莱克瓦2413 小时前
用C语言实现了——一个基于顺序表的插入排序演示系统
c语言·开发语言·数据结构·程序人生·github·排序算法·交互
幸好我会魔法1 天前
使用githubPage+hexo搭建个人博客
笔记·github
“αβ”1 天前
Linux平台下SSH 协议克隆Github远程仓库并配置密钥
linux·ssh·github
qianmoQ2 天前
GitHub 趋势日报 (2025年05月12日)
github