
git
我要加油呀
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
git服务器url改变发生Host key verification failed.
一、查看修改远程关联: $ git remote -v origin ssh://git@xxxx/core.git (fetch) origin ssh://git@xxxx/core.git (push) 二、直接push到新的url会发现Host key verification failed. 要先: git remote remove origin...原创 2019-04-16 10:50:47 · 602 阅读 · 0 评论 -
git使用.gitignore注意事项
一、.gitignore只能忽略那些原来没有被track的文件,如果某些文件已经被纳入了版本管理中,则修改.gitignore是无效的。 解决方法就是先把本地缓存删除(改变成未track状态),然后再提交: git rm -r --cached . git add . git commit -m ‘update .gitignore’ git push origin master 二、忽略...原创 2019-04-16 13:53:41 · 209 阅读 · 0 评论 -
git仓库服务器名称变更Could not read from remote repository
一、提交更改时: git push GitLab: Project 'vms/core' was moved to 'fms/core'. Please update your Git remote and try again: git remote set-url origin ssh://git@xxxx/fms/core.git fatal: Could not read ...原创 2019-05-06 14:09:54 · 1369 阅读 · 0 评论