計算機科学のブログ

ほしい物リスト

Git - GitHub - Collaborating with Git - Part Ⅱ: Go, Team Go! - pull command

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(468/715)の解答を求めてみる。

入出力結果(Terminal, Zsh)

% git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
% git branch
* master
% ls
README.md
% git pull
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 3 (delta 0), reused 1 (delta 0), pack-reused 2 (from 1)
Unpacking objects: 100% (3/3), 510 bytes | 510.00 KiB/s, done.
From https://github.com/kamimura/hawtdawg-all-ears
   32b1d92..275d4d6  master     -> origin/master
Updating 32b1d92..275d4d6
Fast-forward
 FAQ.md | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 FAQ.md
% git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
% ls
FAQ.md		README.md
%