0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

gitで指定日時からのcommit件数を取得する

Posted at

2021/01/25からのgit commit件数を表示するには以下でOKのようだ

$ git log --after '2021/01/25' --oneline | wc -l
27
NUM=`git log --after '2021/01/25' --oneline | wc -l`
echo ${NUM}

参考

git log よく使うオプションまとめ
git log で特定の期間のログだけを出力する方法
コミットの履歴を表示する (git log) [Git]

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?