3
最後にすべてのブランチをログに記録する方法は?最後にすべてのブランチをログに記録する方法は?
今日のログは非常に優れています。
私はgit branch -v
を知っています。sha1を表示し、各ヘッドに件名をコミットします。
私はcommit sha1を参照していますが、コミットの時間は覚えていません。
最後にすべてのブランチをログに記録する方法は?最後にすべてのブランチをログに記録する方法は?
今日のログは非常に優れています。
私はgit branch -v
を知っています。sha1を表示し、各ヘッドに件名をコミットします。
私はcommit sha1を参照していますが、コミットの時間は覚えていません。
ここでは、スクリプトの作成方法の例を示します。あなたが好きなフォーマットオプションと
git for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
git log --branches --no-walk --date=relative
、多分--format=%cd %d %s
?
http://stackoverflow.com/a/30076212/14955 – Thilo
[gitで各ブランチとその最終リビジョンの日付をリストする]の可能な複製(http://stackoverflow.com/questions/2514172/listing-each-branch) -and-its-last-revisions-date-in-git) – Thilo