English 中文(简体)
无法合并到树干
原标题:Unable to merge into the trunk
  • 时间:2012-05-26 19:36:49
  •  标签:
  • git
  • xcode4.3

当我试图将分支合并到后备箱(主管)时, 我收到一个错误信息:

""https://i.sstatic.net/QlWo0.png" alt="在这里输入图像描述"/ >

我做了所有改变,但我还是不能合并。我做错什么了吗?

问题回答

您没有真正承诺全部修改。 Git 承诺只承诺分阶段修改, 除非您使用 - a 选项 。

打开终端, 转到仓库文件夹。 运行 :

git status

它应显示非阶段性的更改。 手工添加这些更改或同时添加所有更改 :

git add .

然后承诺

git commit -m "Foo"




相关问题
git confusion - cloning a repo is returning a past version

Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

热门标签