repo + git 日期排序 - Linux

Table of Contents

因為專案裡面有很多個個別git 管理

我最近有個需求想知道某日期之後有哪些 commit

repo forall -c "git log --after="2017-3-23" --date-order"

上面的 --date-order 參數看起來只能針對個別git 日期排序

不知道是否有辦法針對所有 git 指定日期之後的 git commit 做日期排序?

謝謝

--

All Comments

Ingrid avatarIngrid2017-05-02
改git log的format + pipe到sort,這樣可以嗎?
Kristin avatarKristin2017-05-04
例如: repo forall -c "git --no-pager log --no-show-sig
nature --pretty=format:'[%ad] <%an> %s%d'" | sort
Selena avatarSelena2017-05-07
pipe + sort 如果可以應該符合我需求
Kama avatarKama2017-05-08
fatal: unrecognized argument: --no-show-signature
只有我執行你的command line 會有問題~是git 版本差異?
Charlotte avatarCharlotte2017-05-12
可能我的 git 版本較新,你可以拿掉那個參數。