码迷,mamicode.com
首页 > 其他好文 > 详细

git批量恢复所有删除的文件

时间:2018-05-11 15:35:05      阅读:155      评论:0      收藏:0      [点我收藏+]

标签:style   spl   lin   pad   tom   技术   none   files   color   

git ls-files -d | xargs -i git checkout {}

技术分享图片

git批量恢复所有删除的文件

标签:style   spl   lin   pad   tom   技术   none   files   color   

原文地址:https://www.cnblogs.com/justinzhang/p/9024692.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!