Git - GitHub - Collaborating with Git - Part Ⅱ: Go, Team Go! - branch, merge, delete
Head First Git: A Learner’s Guide to Understanding Git from the Inside Out、 Raju Gandhi(著)、 O’Reilly Mediaの Chapter 6.(Collaborating with Git - Part Ⅱ: Go, Team Go!)、EXERCISE(462/715)の解答を求めてみる。
入出力結果(Terminal, Zsh)
% git status
On branch addison-first-faq
nothing to commit, working tree clean
% git branch
* addison-first-faq
master
% git switch master
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
% git merge addison-first-faq
Updating 32b1d92..275d4d6
Fast-forward
FAQ.md | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 FAQ.md
% git branch -d addison-first-faq
Deleted branch addison-first-faq (was 275d4d6).
%