eclipse egit : How to synchronize with remote repo?

标签 eclipse git version-control egit

我是 GIT 的新手,我曾经提交到我的本地副本,然后“推送”到远程存储库。 最近我在另一台计算机上修改了我的代码,并希望将更改与我的家用计算机同步。

但是在 git synchronize View 中,在我将文件标记为“标记为已 merge ”(在使用本地更改解决更改之后)之后,我如何提交回远程存储库? (就像在 SVN 中一样?)

(即:即使我点击“标记为 merge ”,“红色双阵列图标”也保持不变) Click for larger size

enter image description here

最佳答案

我不太使用同步,因为我使用以下工作流程:

- 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/

相关文章:

svn - 如何检索文件的 SVN 存储库 URL(仅)

java - 从 Eclipse 项目中删除 Maven 特性和文件(pom.xml、target/)后出现 "Could not find or load main class"

git - 如何在裸 Git 存储库中搜索当前修订内容中的字符串?

git - 从 git push 发送参数

git - 错误 : The following untracked working tree files would be overwritten by merge: . DS_Store

git - 如何使用 TFS Git 为单独的分支创建单独的工作目录?

git - 如何在同一存储库的 README Markdown 文件中显示(链接到/超链接)Azure DevOps Git 存储库中的图像?

c++ - Eclipse CDT 中的虚假错误:boost::iostreams

java - Java Cucumber cli (cucumber.api.cli.Main) 的 --glue 选项的语法

eclipse - 在 Windows 上使用 Podman 后端运行 eclipse docker 工具