Edited at

git log全部入り

More than 3 years have passed since last update.

git logの(ほぼ)全部入りオプションです。

% git log --oneline --decorate --graph --branches --tags --remotes


  • --oneline: 1commit 1行のみログ表示

  • --decorate: branch名、tag名などの別名を表示

  • --graph: revision graphを表示

  • --branches: 他のbranchのlogも表示

  • --tags: tagを表示

  • --remotes: remote branchなどを表示

例としてpgpdump

https://github.com/kazu-yamamoto/pgpdump

のログを表示してみます。

% git log --oneline --decorate --graph --branches --tags --remotes

* d7c54b5 (HEAD -> master, origin/master, origin/HEAD) Merge pull request #17 from jonathancross/master
|\
| * af71068 Update README: simplified formatting, links + code formatting.
|/
* 4baddc5 (tag: v0.31) ver bumps up.
* 6e15953 fixing a buffer overrun.
* b1d5939 adding ASAN.
* b02ff93 fuzzing.
* db015e5 (tag: v0.30) ver bumps up.
* 73134a3 changes.
* 0c306f4 fixing the endless loop patch (#16)
* ded250a Merge pull request #16 from keisentraut/fix_endless_loop
|\
| * ece39dd fix endless loop on invalid 2 Byte input \xa3\x03 (SYSS-16-030)
|/
* a733bd8 updating doc.
* 4c24fac describing test instruction.
* a65eb20 Merge branch 'master' of github.com:kazu-yamamoto/pgpdump
|\
| * 17962a7 Merge pull request #11 from martin-danek/master
| |\
| | * 9763ed4 fixes compilation bug for environments with libbz2, but without libz
| |/
| * 1c578f7 Merge pull request #10 from stefanholek/master
| |\
| | * 8718a7b Update CHANGES for 0.29.
| |/
* | 24de178 (tag: v0.29) ver bumps up.
* | c9a7e85 Mac's install does not allow -d and -c at the same time.
* | c940b50 updating configure.
|/
* 0cc48b7 Merge pull request #8 from quinot/master
|\
| * 5935b55 Add support for GnuPG extensions in private subkeys
|/
* f858c11 Merge pull request #6 from cernekee/whitespace-v1
|\
| * d046fa4 Ignore whitespace in Radix-64 input, per RFC 4880 section 6.4
|/
* ae4b477 Merge pull request #4 from cicku/patch-1
|\
| * 1201ba1 Adaption for Fedora packaging.
|/
* 7e2ab8b (tag: v0.28) update doc.