計算機科学のブログ

ほしい物リスト

Git - GitHub - Collaborating with Git - Part Ⅱ: Go, Team Go! - branch, push

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

入出力結果(Terminal, Zsh)

% git status
On branch sangita-add-profile
Your branch is ahead of 'origin/sangita-add-profile' by 1 commit.
  (use "git push" to publish your local commits)

nothing to commit, working tree clean
% cd ../sangitas-clone 
% git status
On branch addison-add-faqs
Your branch is ahead of 'origin/addison-add-faqs' by 1 commit.
  (use "git push" to publish your local commits)

nothing to commit, working tree clean
% cd ../addisons-clone 
% git branch
  addison-add-faqs
  master
* sangita-add-profile
% git push
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 483 bytes | 483.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
To https://github.com/kamimura/hawtdawg-all-ears.git
   551184c..c43a03d  sangita-add-profile -> sangita-add-profile
% git status
On branch sangita-add-profile
Your branch is up to date with 'origin/sangita-add-profile'.

nothing to commit, working tree clean
% cd ../sangitas-clone 
% git branch
* addison-add-faqs
  master
  sangita-add-profile
% git push
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 544 bytes | 544.00 KiB/s, done.
Total 3 (delta 1), reused 0 (delta 0), pack-reused 0 (from 0)
remote: Resolving deltas: 100% (1/1), completed with 1 local object.
To https://github.com/kamimura/hawtdawg-all-ears.git
   1a691fb..5dc2037  addison-add-faqs -> addison-add-faqs
% git status
On branch addison-add-faqs
Your branch is up to date with 'origin/addison-add-faqs'.

nothing to commit, working tree clean
%