Git - GitHub - Searching Git Repositories: Git a Grep - clone
Head First Git: A Learner’s Guide to Understanding Git from the Inside Out、 Raju Gandhi(著)、 O’Reilly Mediaの Chapter 7.(Searching Git Repositories: Git a Grep)、EXERCISE(556/715)の解答を求めてみる。
入出力結果(Terminal, Zsh)
% git clone https://github.com/looselytyped/gitanjali-aref-wedding-plans.git
Cloning into 'gitanjali-aref-wedding-plans'...
remote: Enumerating objects: 27, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 27 (delta 8), reused 5 (delta 5), pack-reused 14 (from 1)
Receiving objects: 100% (27/27), done.
Resolving deltas: 100% (9/9), done.
% cd gitanjali-aref-wedding-plans
% git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
% git branch
* master
% git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/master
% git log --oneline --all --graph
* 7886bce (HEAD -> master, origin/master, origin/HEAD) add two more appetizers
* 0b90575 offer nonalcoholic options
* c366817 remove Git puns and make drinks more seasonal
* e9beff3 remove nuts from all items due to allergy concerns
* b6c8c82 replace meat dishes with vegetarian items
* d36c983 add first draft of dinner menu
* 99fd56e add first draft of appetizer and drink menus
* 6b11ec8 add README
%