🖥
Git | $ git log limits the number of commits displayed
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
チャットメンバー募集
何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。
公開日時
2019-04-16
Discussion