Thursday, June 14, 2018

Git で全ブランチから検索

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

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

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

12 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
  5. "hello all budy keep updating with world news headlines....Digital world economy provides latest news from India and the world. Get today's news headlines from Business, Technology, cryptocurrency news, market updates, and economic news..
    "

    Tesla to Remain Public, Confirms CEO...

    Electric Version of Jaguar coming soon...

    Cryptocurrency Accepted in Chile...

    Crypto Transactions Barred...

    CloudWalker launches smart tv…

    ReplyDelete