Skip to content

Instantly share code, notes, and snippets.

@sephiroth74
Created March 25, 2015 23:12
Show Gist options
  • Select an option

  • Save sephiroth74/0e749c152cf1d87a1042 to your computer and use it in GitHub Desktop.

Select an option

Save sephiroth74/0e749c152cf1d87a1042 to your computer and use it in GitHub Desktop.

Revisions

  1. sephiroth74 created this gist Mar 25, 2015.
    8 changes: 8 additions & 0 deletions git_find_files
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    function git_find_files() {
    if [ "$#" -ne 1 ]
    then
    echo "Usage: git_find_files string"
    return
    fi
    git log -p -S$1 --pickaxe-all --full-diff
    }