Git - Undoing: Fixing Your Mistakes - commit histary
Head First Git: A Learner’s Guide to Understanding Git from the Inside Out、 Raju Gandhi(著)、 O’Reilly Mediaの Chapter 4.(Undoing: Fixing Your Mistakes)、EXERCISE(312/715)の解答を求めてみる。
入出力結果(Terminal, Zsh)
% git status
On branch boardgame-night
nothing to commit, working tree clean
% git branch
* boardgame-night
glamping-trip
main
% git log --oneline --all --graph
* 39107a6 (HEAD -> boardgame-night) add games and list potential boardgame night venues
* 3e3e847 initial boardgame planning
| * cf5e718 (glamping-trip) initial outdoors plan
|/
* 8d704f8 (main) first cut at invitation card
* 6e16680 initial set of guests and gift registry
%