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 小时前
GitHub图床
github·图床
萱仔学习自我记录8 小时前
萱仔个人博客系列——hexo+github部署
github
奕星星奕10 小时前
在C++中,如何避免出现Bug?
c++·bug
Verdure陌矣13 小时前
C++项目引入开源库bit7z
开发语言·c++·3d·github
追风201919 小时前
建设网盘聚合中心—Win10+Alist+RaiDrive
经验分享·github·开源软件
集电极1 天前
【bug】with sync_playwright as p: AttributeError: __enter__
bug
wei_shuo1 天前
828华为云征文 | 搭建云服务器Flexus X实例,开启简单上云第一步
服务器·华为云·github
旗浩QH2 天前
github中action作用和讲解
github
鸽芷咕2 天前
【Python报错已解决】 AttributeError: ‘move_to‘ requires a WebElement
开发语言·python·bug