Git - Branching Out: Multiple Trains of Thought - files, ls command
Head First Git: A Learner’s Guide to Understanding Git from the Inside Out、 Raju Gandhi(著)、 O’Reilly Mediaの Chapter 2.(Branching Out: Multiple Trains of Thought)、BE Git(165/715)の解答を求めてみる。
入出力結果(Terminal, Zsh)
% git branch
add-fall-menu
* add-thurs-menu
master
% ls
README.md thursdays-menu.md
% git switch add-fall-menu
Switched to branch 'add-fall-menu'
% ls
README.md menu.md
% git switch master
Switched to branch 'master'
% ls
README.md
%