![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Git
zzwdkxx
这个作者很懒,什么都没留下…
展开
-
windows下GitLab操作:PTY allocation request failed on channel 0
公司代码放在了GitLab上,准备上传一个项目代码,操作参考: https://blog.csdn.net/qq_20663229/article/details/80413188 提交代码时遇到了问题,通过百度解决了几个,最后卡在这样的两个报错上: fatal: Could not read from remote repository PTY allocation request fa...原创 2020-02-03 22:24:14 · 1906 阅读 · 2 评论 -
Git冲突:commit your changes or stash them before you can merge.
今天用git pull来更新代码,遇到了下面的问题: [html] view plaincopy error: Your local changes to the following files would be overwritten by merge: xxx/xxx/xxx.java Please, commit you转载 2014-08-05 12:51:59 · 14079 阅读 · 1 评论 -
Git使用方法
Git使用方法(一) Linux项目开始后,绝大多数的Linux内核维护工作都花在了提交补丁和保存归档的繁琐事物上(1991——2002年间)。到2002年,整个项目组开始启用分布式版本控制系统BitKeeper来管理和维护代码。到2005年的时候,开发BitKeeper的商业公司同Linux内核开发社区的合作关系结束,他们收回了免费使用BitKe转载 2014-09-10 09:24:36 · 944 阅读 · 0 评论 -
Git Stash用法
http://www.cppblog.com/deercoder/archive/2011/11/13/160007.html转载 2014-09-10 09:25:34 · 579 阅读 · 0 评论 -
Git远程操作详解
转自:点击打开链接 作者: 阮一峰 日期: 2014年6月12日 Git是目前最流行的版本管理系统,学会Git几乎成了开发者的必备技能。 Git有很多优势,其中之一就是远程操作非常简便。本文详细介绍5个Git命令,它们的概念和用法,理解了这些内容,你就会完全掌握Git远程操作。 git clone git remote git fetch git pull转载 2015-03-26 15:12:08 · 424 阅读 · 0 评论 -
Git版本恢复命令reset
转自:http://www.tech126.com/git-reset/ reset命令有3种方式: git reset –mixed:此为默认方式,不带任何参数的git reset,即时这种方式,它回退到某个版本,只保留源码,回退commit和index信息 git reset –soft:回退到某个版本,只回退了commit的信息,不会恢复到index file一级。转载 2016-01-11 20:41:56 · 872 阅读 · 0 评论