🖥

Git | $ git log limits the number of commits displayed

2019/04/16に公開

Use the option -n .

$ git log -n 1 (display $ git log -n 2 one commit) $ git log -n 2 (display $ git log -n 3 two commits) $ git log -n 3 (display for three commits)

Another voice

You may type a number directly after the hyphen.

$ git log -1 $ git log -2 $ git log -3

(@tsuyoshi_cho information)

environment

  • git version 2.3.8 (Apple Git-58)

Original by

Git | $ git log で表示するコミット数を制限する

About

About this translattion

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ

Twitter

https://twitter.com/YumaInaura

公開日時

2019-04-16

Discussion