![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
newbaby2012
芝兰生于深谷,不以无人而不芳;君子修道立德,不为困穷而改节。
展开
-
fatal: not a git repository (or any of the parent directories): .git
这个报错,可能因为 1.当前目录没有git init 2.你进错目录了, 我是第二种,进到C:\Users\tang,所以即便git init以后,git push的时候还会报错: error: src refspec master does not match any error: failed to push some refs to 'github.com:CodePpoi/spring-code.git 解决办法就是将terminal切换到你项目所在的正确目录 ...原创 2021-06-14 17:43:11 · 370 阅读 · 0 评论 -
git 修改别名alias
全局修改先找到 .gitconfig文件,一般放在用户里面,我的是C:\Users\tang原创 2021-06-13 19:45:27 · 345 阅读 · 0 评论