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

相关推荐
weixin_66820 小时前
GitHub 2026年AI项目热度分析报告-AI分析-分享
人工智能·github
MicrosoftReactor21 小时前
技术速递|GitHub Copilot CLI 斜杠命令速查表
github·copilot·cli
wu~97021 小时前
GitHub永不遗忘,使用git push -f来覆盖的提交依旧保留
git·github
m0_694845571 天前
music-website 是什么?前后端分离音乐网站部署实战
linux·运维·服务器·云计算·github
独自破碎E1 天前
已经 Push 到远程的提交,如何修改 Commit 信息?
开发语言·github
这个软件需要设计一下1 天前
ninedata安装磁盘不足问题解决
运维·bug
jiang_changsheng1 天前
工作流agent汇总分析 2
java·人工智能·git·python·机器学习·github·语音识别
热爱生活的五柒1 天前
cc-switch安装方法、介绍及遇到的bug
bug·cc-switch
Greenland_121 天前
Android 混淆与混淆后bug日志问题定位
android·bug
馨谙1 天前
Ansible 配置文件详解:让自动化管理更轻松
运维·github·ansible