English 中文(简体)
包括/临时代管在内的吉特历史
原标题:Git history including/interleave submodule commits

I d like to get a git log for the repository and all submodules. The manpage says that git log --submodule should be used but this doesn t work for me.

纽约总部 Edit ----------

举一个例子——我说的是:

git clone git://git.typo3.org/TYPO3v4/Core.git
cd Core
git submodule init && git submodule update
git log --submodule 

<代码>git 记录-submodule 这里没有包括从任何次别中作出的承诺——就是指分层点已经改变的承诺。

失踪的人是什么?

问题回答

它与你重新设想的<代码>--submodule的代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位代位

www.un.org/Depts/DGACM/index_french.htm 论点界定了如何显示分层差异,因此,如果你重新使用分层差异的话,你只能看到其效果。 <代码>git日志——p,以显示每次变动的配对。 通常情况下,<代码>gitlog -p将仅显示以前和之后承诺分位变更派的斜体:

$ git log -1 -p
commit 111808a2bb8c9683d3abe68df419759848ddb16e
Author: Simon Whitaker <simon@...>
Date:   Fri Jan 13 10:40:41 2012 +0000

    Updated ObjectiveFlickr ref

diff --git a/submodules/ObjectiveFlickr b/submodules/ObjectiveFlickr
index b37c053..1bede67 160000
--- a/submodules/ObjectiveFlickr
+++ b/submodules/ObjectiveFlickr
@@ -1 +1 @@
-Subproject commit b37c0539a536147957c01ad01cf2d8666bcbde9e
+Subproject commit 1bede67b8258ed4b95b5d3d6c2175b5e64912269

-submodule 收到以下表格的实际承诺信息:

$ git log -1 -p --submodule
commit 111808a2bb8c9683d3abe68df419759848ddb16e
Author: Simon Whitaker <simon@...>
Date:   Fri Jan 13 10:40:41 2012 +0000

    Updated ObjectiveFlickr ref

Submodule submodules/ObjectiveFlickr b37c053..1bede67:
  > Set SKIP_INSTALL to YES so that Product > Archive 
  still builds app rather than Xcode archive




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

热门标签