Git - GitHub - Collaborating with Git - Ⅱ: Go, Team, Go! - branch, commit, ahead, push
Head First Git: A Learner’s Guide to Understanding Git from the Inside Out、 Raju Gandhi(著)、 O’Reilly Mediaの Chapter 6.(Collaborating with Git - Ⅱ: Go, Team, Go!)、SHARPeN YOUR PENCIL(473/680)の解答を求めてみる。
入出力結果(Terminal, Zsh)
addisons
% cd addisons-clone
addisons-clone % 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
addisons-clone % 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
addisons-clone % 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), 485 bytes | 485.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
2350fc1..a055631 sangita-add-profile -> sangita-add-profile
addisons-clone
sangitas
% cd sangitas-clone
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
sangitas-clone % 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), 543 bytes | 543.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
c3542a0..361d4bb addison-add-faqs -> addison-add-faqs
sangitas-clone %