![](/style/images/good.png)
2
![](/style/images/bad.png)
【踩坑】Git执行merge命令时报错
source link: https://loli.fj.cn/2023/03/30/Git%E6%89%A7%E8%A1%8Cmerge%E5%91%BD%E4%BB%A4%E6%97%B6%E6%8A%A5%E9%94%99/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
【踩坑】Git执行merge命令时报错
2023-03-30
Git执行merge命令时报错:not something we can merge
- 本地没有指定的分支可以进行
merge
合并
merge
分支合并操作只能将本地的两个分支合并,在执行merge
命令之前需要先执行fetch
命令将远端分支信息获取到本地,再进行merge
合并
<repo_nickname>
:仓库名
git fetch <repo_nickname>
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK