English 中文(简体)
git p4提交时总是试图重新申请每批发送件。
原标题:git p4 submit always tries to re-apply every patch
  • 时间:2010-12-02 02:19:01
  •  标签:
  • git
  • perforce

我们迁到Gite,但仍然有一些系统,依靠的是Perforce I m的相同数据,这反映了我们向Perforce的基调:

  • git pull origin master
  • git p4 rebase
  • git p4 submit

但我所看到的问题是,每当我从原产地拉出来之后提交,我就试图重新适用每一项承诺,哪怕是以前已经提交的导致自发冲突的承诺。 有趣的是,这项工作:

git p4 submit <--- submit some changes
git p4 submit <--- no changes to submit, so it recognizes that it s up to date

但是,一旦我扔进了一批精干的船主(即使原产地没有任何新东西),它就会失去轨道,而下台则试图重新应用。 例如:

git p4 submit <--- no changes to submit
git pull origin master <--- no activity on the git server side so no changes applied
git p4 submit <--- tries to re-apply all changes that were already submitted earlier

git 是否将原产地引出某种how,去除第4页,其概念是哪些变化已经适用,哪些是 t?

最佳回答

也许你仍然认为根本问题。 检查所有分支机构的位置。 使用<代码>gitk --all或git Branch -a

问题回答

暂无回答




相关问题
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 ...

热门标签