計算機科学のブログ

ほしい物リスト

Git - Undoing: Fixing Your Mistakes - commands, branch, log

Head First Git: A Learner’s Guide to Understanding Git from the Inside OutRaju Gandhi(著)、 O’Reilly Mediaの Chapter 4.(Undoing: Fixing Your Mistakes)、SHARPEN YOUR PENCIL(302/715)の解答を求めてみる。

入出力結果(Terminal, Zsh)

% git branch
* camping-trip
  master
% git log --oneline --all --graph 
* efa799d (HEAD -> camping-trip) final outdoors plan
* 8d704f8 (master) first cut at invitation card
* 6e16680 initial set of guests and gift registry
%