git status | grep modified | cut -d : -f 2 | xargs -i ~/copyTree.jar {} ~/backup/mygecko
git 备份所有修改
下载copyTree
http://download.csdn.net/download/xuxiake2012/6768123
git 恢复所有修改
git status | grep modified | cut -d : -f 2 | xargs -i git checkout {}