美文网首页
idea使用git提交代码时提交一条多余的日志

idea使用git提交代码时提交一条多余的日志

作者: 7a3fe179bf61 | 来源:发表于2019-12-06 14:52 被阅读0次

idea-git设置

问题:
idea点击 update project更新代码会自动生成一条提交记录
日志内容:Merge remote-tracking branch 'origin/develop' into develop

image.png

解决方案:


image.png

默认会选择 branch_Default
设置为Rebase即可解决

有的同学勾选了<mark> Do not show this dialog in the future</mark>,就不会弹出这个框,需要找回这个弹出框并修改设置

File -> Settings -> Version Control -> Confirmation
选择update

image.png

相关文章

网友评论

      本文标题:idea使用git提交代码时提交一条多余的日志

      本文链接:https://www.haomeiwen.com/subject/wkkegctx.html