
gitlab
文章平均质量分 89
yingchenwy
This is real. This is me.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
git clone 错误解决
1、git clone 错误如下: 正克隆到 '***'... GitLab: The project you were looking for could not be found. fatal: Could not read from remote repository. Please make sure you have the correct access right 2、解决步骤: a、服务器 ~/.ssh/id_rsa.pub文件内容拷贝到git账号setting的SSH..原创 2020-08-24 17:58:48 · 943 阅读 · 0 评论 -
Fingerprint has already been taken
>cd ~/.ssh/ >mkdir search_keys #名字随便定 >cd search_keys >pwd (获取当前目录路径,如:/data/duser/.ssh/search_keys) >ssh-keygen 输入上述路径 Generating public/private rsa key pair. Enter file in which to save the key (/data/duser/.ssh/id_rsa): /data/duser/...原创 2020-05-29 20:40:46 · 5499 阅读 · 0 评论 -
git stash和git stash pop
一、git pull 拉代码的时候,或者切换分支的时候,防止冲突和不便,,会用到git stash,将工作区内容暂存起来。 比如:为了fix 一个bug,先stash, 使返回到自己上一个commit, 改完bug之后再stash pop, 继续原来的工作。 怎么办: 1、git stash 备份当前工作区的内容,保存到git 栈中,从最近的一次commit中读...转载 2020-02-21 15:04:32 · 1411 阅读 · 0 评论 -
Permission denied (publickey).
克隆到 '***'... Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 在服务器使用git clone项目到服务器时,出现上述错...原创 2019-03-20 19:43:18 · 1052 阅读 · 0 评论 -
解决Git报错:error: You have not concluded your merge (MERGE_HEAD exists).
Git fetch和git pull的区别, 解决Git报错:error: You have not concluded your merge (MERGE_HEAD exists). 2017年02月22日 20:38:28 阅读数:19178 Git fetch和git pull的区别: 都可以从远程获取最新版本到本地 1.Git fetch:只是从远程获取最新版本到本地,不会mer...转载 2019-10-09 19:19:20 · 22455 阅读 · 2 评论