从当前目录的所有文件中查找文本内容:
$ git grep "Hello"
在某一版本中搜索文本:
$ git grep "Hello" v2.5
posted on 2015-12-10 19:10 snails_zx 阅读(155) 评论(0) 收藏 举报