計算機科学のブログ

ほしい物リスト

Git - Branching Out: Multiple Trains of Thought - cleanup, delete

Head First Git: A Learner’s Guide to Understanding Git from the Inside OutRaju Gandhi(著)、 O’Reilly Mediaの Chapter 2.(Branching Out: Multiple Trains of Thought)、SHARPEN YOUR PENCIL(123/164)の解答を求めてみる。

入出力結果(Terminal, Zsh)

% git branch 
  add-fall-menu
  add-thurs-menu
* master
  my-first-branch
  my-new-branch
% git branch -d add-fall-menu add-thurs-menu my-first-branch my-new-branch 
Deleted branch add-fall-menu (was 7bb440e).
Deleted branch add-thurs-menu (was c0fc334).
Deleted branch my-first-branch (was 186fe2e).
Deleted branch my-new-branch (was 7bb440e).
% git branch 
* master
%