0

git 恢复单个文件

Posted in git at 九月 6th, 2011 / No Comments »

如果你只是要恢复一个文件(修复未提交文件中的错误),如”hello.rb”, 你就要使用 git checkout

$ git checkout -- hello.rb
http://www.gagahappy.com/git-checkout-file/
Published in git
Tags: ,

No Responses to “git 恢复单个文件”

Leave a Reply

请输入算式结果(看不清请点击图片)
(必须)