回答編集履歴

1

コマンドとコメントの修正

2015/11/01 18:39

投稿

gouf
gouf

スコア2321

test CHANGED
@@ -10,9 +10,9 @@
10
10
 
11
11
  git branch |\ # ブランチ一覧を取得
12
12
 
13
- egrep "develop\/\w+"|\ # "develop/*" で一覧を絞り込み
13
+ egrep "develop\/.+"|\ # "develop/*" で一覧を絞り込み
14
14
 
15
- cut -c 3-100|\ # (出力結果に空があるので、)3 文字目から100 文字目までを切り出して整理
15
+ cut -c 3-100|\ # (出力結果に余分ながあるので、)3 文字目から100 文字目までを切り出して整理
16
16
 
17
17
  xargs git show-branch # 出力された一覧をもとに git show-branch [branch_name] を実行
18
18