質問するログイン新規登録

回答編集履歴

1

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

2015/11/01 18:39

投稿

gouf
gouf

スコア2321

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