进入项目文件夹下,右击鼠标点击git bash here
输入git pull origin master --allow-unrelated-histories
如果跳出需要填写合并信息
1.按键盘字母 i 进入insert模式(默认是insert模式)
2.修改最上面那行黄色合并信息,可以不修改
3.按键盘左上角"Esc"
4.输入":wq",注意是冒号+wq,按回车键即可
进入项目文件夹下,右击鼠标点击git bash here
输入git pull origin master --allow-unrelated-histories
如果跳出需要填写合并信息
1.按键盘字母 i 进入insert模式(默认是insert模式)
2.修改最上面那行黄色合并信息,可以不修改
3.按键盘左上角"Esc"
4.输入":wq",注意是冒号+wq,按回车键即可