Git - GitHub - Collaborating with Git - Part Ⅰ: Remote Work - commit history
Head First Git: A Learner’s Guide to Understanding Git from the Inside Out、 Raju Gandhi(著)、 O’Reilly Mediaの Chapter 5.(Collaborating with Git - Part Ⅰ: Remote Work)、SHARPEN YOUR PENCIL(417/715)の解答を求めてみる。
入出力結果(Terminal, Zsh)
% git log --all --oneline --graph
* a5af7f9 (HEAD -> master, origin/master, origin/HEAD) my third-commit on master
| * fa9cea3 (origin/feat-b, feat-b) my first commit on feat-b
|/
* 5aefc0d add master-01 file
* f9fd4aa add README
% git branch
feat-b
* master
% git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
%