我是 GIT 的新手,我曾经提交到我的本地副本,然后“推送”到远程存储库。 最近我在另一台计算机上修改了我的代码,并希望将更改与我的家用计算机同步。
但是在 git synchronize View 中,在我将文件标记为“标记为已 merge ”(在使用本地更改解决更改之后)之后,我如何提交回远程存储库? (就像在 SVN 中一样?)
(即:即使我点击“标记为 merge ”,“红色双阵列图标”也保持不变) Click for larger size
最佳答案
我不太使用同步,因为我使用以下工作流程:
- fetch
- merge
* resolved merges are sent to git index
* unresolved merges need to be fixed
- add fixed merge to index
- commit
- push
关于 eclipse egit : How to synchronize with remote repo?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10958152/