![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
GeekWay
Nothing has happened until it has been described .
展开
-
删除github上的文件
有时候因为某些原因,需要将上传到github上制定的文件删除,但如果只是单纯地删除本地文件,再执行提交操作,删除的只是本地文件,远程的文件依然存在。可以使用下面的命令,先将stage中的文件删除,然后提交,再push到远程,这时github上的文件就不存在了。git rm --cached filename git commit -m "hehe" git push origin原创 2014-05-18 21:50:49 · 1706 阅读 · 0 评论 -
Git常用命令备忘
Git配置git config --global user.name "robbin" git config --global user.email "fankai@gmail.com"git config --global color.ui truegit config --global alias.co checkoutgit config --global alias.ci转载 2014-05-18 22:24:58 · 902 阅读 · 0 评论