git - git pull 总是打开一个新的提交窗口
问题描述
我对 git 感到有些困惑,我的 git 基础知识已经搞砸了。
我在 master 分支上工作,做了一些更改,做了一个 git add+git commit,然后我做了一个 git pull,现在我很困惑,因为每当我做一个 git pull 时,我都会得到一个新的提交窗口。
早些时候,每当我执行上述步骤时,提交消息永远不会出现,它会自动与远程源合并。
现在,每当我使用远程源执行 git pull 时,都会弹出新的提交窗口。
有些东西搞砸了,但我无法弄清楚。
请帮忙。
这是 git log,对我来说看起来很奇怪。
每当我执行 git pull 时,都会显示第一次提交。除非我搞砸了,否则这不应该发生。请帮助我了解发生了什么问题。
commit e5dac0fbd72f17d87c9ec2090f29b603b399088f (HEAD -> master)
Merge: b44d245 f407e5b
Author: Abhi
Date: Mon Apr 30 02:32:32 2018 -0700
Merge branch 'master' of https://github.com/networks/test_automation
commit b44d245400b72a994ff57f0ac2a5db7b75964266
Author: Abhi
Date: Mon Apr 30 01:51:48 2018 -0700
Test cases for the remote EP feature.
Add test cases for pod traffic between same uplink, different uplink
Add test cases for creating multiple EPG and assiging pods to EPG
and checking the connectivity between them
commit f407e5bcae8a798a84e28d275432a324889523f8 (origin/master, origin/HEAD)
Author: Ceridwen
Date: Fri Apr 20 16:40:31 2018 -0700
Use acikubectl to write the cluster-report to a file
commit 8b0084c6ca9df913a05f6c910d923621032ea0d2
解决方案
感谢大家的帮助。
以防万一有人想知道我当时是如何解决的;我使用了 git pull --rebase 并且它在没有创建新提交的情况下工作。
推荐阅读
- javascript - 我的折线图绘图仪 JS 应用程序中的 x 和 y 轴上的缩放间隔没有正确显示
- android - AdColony 仅显示测试广告
- python - 如何在单击按钮时更新 kivy 中的标签
- julia - 为什么不能解析将浮点字符串转换为int?
- c - arm-none-eabi-gcc(错误:初始化元素不是常数)
- javascript - 使用 React 的类组件中不需要的状态更改
- jquery - 如何使用正则表达式从匹配混合阿拉伯语和英语找到的文本的 JQuery 脚本中排除 URL?
- python-3.x - 如何遍历 Python 列表并返回值相同的对数
- angular - Angular 公有私有访问器
- c - 为什么不能在 c 程序中打印 NULL?