2016-04-04 113 views

回答

0
git diff ..origin/master --summary | grep "create" | awk '{ print $4 }' 
git diff ..origin/master --summary | grep "delete" | awk '{ print $4 }' 

git ls-files也可能有用。