Git - Beginning Git: Get Going with Git - subcommand, status
Head First Git: A Learner’s Guide to Understanding Git from the Inside Out、 Raju Gandhi(著)、 O’Reilly Mediaの Chapter1.(Beginning Git: Get Going with Git)、TEST DRIVE(96/120)の解答を求めてみる。
入出力結果(Terminal, Zsh)
% git add Checklist.md
% git status
On branch master
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
new file: Checklist.md
% git commit -m 'my second commit'
[master e36fe27] my second commit
1 file changed, 4 insertions(+)
create mode 100644 Checklist.md
% git status
On branch master
nothing to commit, working tree clean
%