計算機科学のブログ

ほしい物リスト

Git - Looking Around: Investigating Your Git Repository - log, flag, online, all, graph

Head First Git: A Learner’s Guide to Understanding Git from the Inside OutRaju Gandhi(著)、 O’Reilly Mediaの Chapter 3.(Looking Around: Investigating Your Git Repository)、EXERCISE(240/715)の解答を求めてみる。

入出力結果(Terminal, Zsh)

% git log --oneline --all --graph 
* 8d670e9 (spicy-version) update recipe name
* 4cca5a7 make it spicy
| * 0065b8a (different-base) cut down salt
| * 549e0da use sour cream
|/  
* 5db2b68 (HEAD -> master) first attempt
%

commit graph

update recipe name

update recipe…
cut down salt
cut down salt
make it spicy
make it spicy
use sour cream
use sour cream
first attempt
first attempt
Text is not SVG - cannot display