git
文章平均质量分 78
沉默小管
我的开源项目:https://gitee.com/derekgo/vue-cms_xg
展开
-
【git】git本地如何合并分支
问题原因电脑A:旧代码 分支名称(test1)电脑B:新代码 分支名称(test2)电脑A想更新成最新的代码解决流程#1.查看当前分支git branch当前分支为test1#2.切换test2git checkout test2#3.拉取最新test2的代码git pull origin test2#4.切换到分支git checkout test1#5.test1合并test2git merge origin/test2更多git操作,请看我的另外一篇文章原创 2022-03-21 11:56:54 · 4467 阅读 · 0 评论 -
【git】git下拉项目Pulling is not possible because you have unmerged files解决方案
问题描述我输入git pull 下拉项目爆出以下错误error: Pulling is not possible because you have unmerged files.hint: Fix them up in the work tree, and then use 'git add/rm <file>'hint: as appropriate to mark resolution and make a commit.fatal: Exiting because of an u原创 2022-01-07 16:52:08 · 1565 阅读 · 0 评论 -
【git】git推送项目报错git@github.com: Permission denied (publickey)
解决流程windows环境:1.重新生成sshssh-keygen -t rsa -C “2514838942@qq.com”2.ssh -v git@github.com3.ssh-agent -s4.在电脑找到id_rsa.pub文件,复制里面内容到git的把id_rsa.pub文件内容添加在这里5.最后输入以下命令,如果有success应该就是成功了ssh -T git@gitee.com...原创 2021-12-22 11:56:46 · 541 阅读 · 0 评论 -
【git】git基本操作与常用命令集合
git常用命令集合原创 2021-12-16 09:36:39 · 1254 阅读 · 0 评论