From: Colin Patrick Mccabe Date: Sat, 5 May 2012 20:26:16 +0000 (-0700) Subject: add git-foo, which lists new and modified files from git X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecc29888dd2616af70779130cfa6f9a27177a014;p=cmccabe-bin add git-foo, which lists new and modified files from git Signed-off-by: Colin McCabe --- diff --git a/git-foo b/git-foo new file mode 100755 index 0000000..476edd2 --- /dev/null +++ b/git-foo @@ -0,0 +1,3 @@ +#!/bin/bash + +git status | egrep '(modified:)|(new file:)' | sed 's/.*://'