![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Git
PanYu——BJ
懂些皮毛
展开
-
如何解决failed to push some refs to git
可以通过如下命令进行代码合并【注:pull=fetch+merge] git pull --rebase origin master原创 2020-09-30 14:41:47 · 137 阅读 · 0 评论 -
git记住密码,免密码拉取代码。
git config --global credential.helper store原创 2020-09-28 15:14:21 · 475 阅读 · 0 评论 -
GIT操作
Git global setup git config --global user.name “xiaomi” git config --global user.email “163@163.com” Create a new repository git clone http://f07c4/xiaomi/front-project.git cd front-project touch README.md git add README.md git commit -m “add README” git p原创 2020-07-23 19:00:49 · 102 阅读 · 0 评论 -
Git分支同步
同步远程分支 可能有人新建了远程分支,但是在本地上的Remote Branches中并没有远程分支,所以需要右键选择git -> Repository -> fetch。原创 2019-12-19 17:49:19 · 109 阅读 · 1 评论 -
Git错误解决
1、执行git add 项目之后出现 The file will have its original line endings in your working directory. 解决方法: git config --global core.autocrlf false 原因就是: 原因是路径中存在 / 的符号转义问题,false就是不转换符号默认是true,相当于把路径的 / 符号进行转...原创 2019-12-19 15:32:19 · 264 阅读 · 0 评论