English 中文(简体)
欧洲复兴开发银行指出什么?
原标题:What does HEAD point to?
  • 时间:2010-12-01 20:52:53
  •  标签:
  • git
  • branch

我想将我的当地<代码>master/code>分行与遥远的<代码>origin/master分行进行比较。 我知道,如何从我的当地<代码>master/code>分行中找到<条码>的线性差异。 但是,我想比较承诺的历史,即显示<条码>git日志和<条码>git日原/master。 I Trial git show-branch -a but got:

* [master] change content background-color to blue
 ! [origin/HEAD] add favicon
  ! [origin/master] add favicon
---
*   [master] change content background-color to blue
*++ [origin/HEAD] add favicon
  1. Is there a better way?
  2. Also, what does HEAD point to, the checked-out commit?
最佳回答

你可以做到:

git log master..origin/master

列出“相互”的承诺:代码和<编码> >

http://www.ohchr.org。

The dot-dot syntax and HEAD aredocument at gitrevisions(7)

问题回答
  1. 是否有更好的办法......

    1. 查明法典中逐行差异?

      <代码>git diff origin/master.master。

    2. 比较承诺的历史吗?

      http://www.un.org。

  2. 另外,欧洲复兴开发银行指出的、检查的清除行动是什么?

    HEAD指出“目前”的“图书馆”。

这使我能够合理地看待分歧,同时让两个部门明确作出承诺。

git-forest --date-order $(git merge-base master origin/master) master origin/master

(替代改为gitk 页: 1

您应使用<条码>git fetch而不是<条码>。 。 你们现在处于冲突之中,使用<条码>git 合并——abort





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

热门标签