Thursday, June 14, 2018

Git で全ブランチから検索

ググったけどmacOSでぱっと動くのがなかったのでメモがてら書く。

全ローカルブランチから検索
% git grep keyword $(git branch | colrm 1 2)

リモート含む全ブランチから検索
% git grep keyword $(git branch -a | colrm 1 2)

9 comments:

  1. Thank you. This is great to find the article.
    instagram search

    ReplyDelete
  2. Good article, I like this article very much
    happy wheels

    ReplyDelete
  3. The article contains important or useful information
    run 3

    ReplyDelete
  4. I like your site and content. thanks for sharing the information keep updating, looking forward for more posts. Thanks
    abcya | hooda games

    ReplyDelete