計算機科学のブログ

ほしい物リスト

Git - GitHub - Collaborating with Git - Part Ⅱ: Go, Team Go! - subcommand, log, flag

Head First Git: A Learner’s Guide to Understanding Git from the Inside OutRaju Gandhi(著)、 O’Reilly Mediaの Chapter 6.(Collaborating with Git - Part Ⅱ: Go, Team Go!)、EXERCISE(459/715)の解答を求めてみる。

入出力結果(Terminal, Zsh)

% git log --graph --oneline --all
* 32b1d92 (HEAD -> master, origin/master, origin/HEAD) add README
% cd ../sangitas-clone 
% git log --graph --oneline --all
* 32b1d92 (HEAD -> master, origin/master, origin/HEAD) add README
% git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
% cd ../addisons-clone 
% git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
%