daily learn 長久而持續的累積
2018年6月7日 星期四
Git: Revert single file to certain commit 將單一檔案還原回特定提交
Check the specific diff before checkout 檢查版本差異:
git diff <commit hash> <filename>
Then do the revert work 還原特定檔案成舊版本:
git checkout <commit hash> -- <filename>
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言