my git command

2011年6月23日 星期四

search commit log --grep

如果要 找一下 commit log 包含某個字,可以用
git log --grep="camera"



ref : http://stackoverflow.com/questions/746684/how-to-search-through-all-commits-in-the-repository
張貼者: checko 於 晚上10:25
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest
標籤: log, search

沒有留言:

張貼留言

較新的文章 較舊的文章 首頁
訂閱: 張貼留言 (Atom)
  • branch (7)
  • clean (1)
  • clone (2)
  • commit (4)
  • config (1)
  • diff (6)
  • internal (2)
  • log (5)
  • merge (8)
  • patch (2)
  • problem_solve (4)
  • protocol (1)
  • rebase (1)
  • reference (2)
  • remote (7)
  • revert (2)
  • search (1)
  • show (1)
  • staging area (1)
  • tag (2)
  • undo (3)

網誌存檔

  • ►  2018 (1)
    • ►  7月 (1)
  • ►  2017 (1)
    • ►  2月 (1)
  • ►  2014 (3)
    • ►  11月 (1)
    • ►  5月 (1)
    • ►  2月 (1)
  • ►  2013 (3)
    • ►  11月 (1)
    • ►  8月 (1)
    • ►  7月 (1)
  • ►  2012 (5)
    • ►  8月 (2)
    • ►  6月 (1)
    • ►  5月 (1)
    • ►  3月 (1)
  • ▼  2011 (19)
    • ►  10月 (1)
    • ▼  6月 (2)
      • search commit log --grep
      • diff , ignore white space
    • ►  5月 (2)
    • ►  4月 (7)
    • ►  3月 (7)
技術提供:Blogger.