ZhangZhihui's Blog  

2023年5月2日

摘要: Use 'git commit -m <commit_message> -- <path_to_file>' to commit a single file. 阅读全文
posted @ 2023-05-02 15:43 ZhangZhihuiAAA 阅读(8) 评论(0) 推荐(0) 编辑
 
摘要: 1. Use 'git log' to view the history of commits and get the commit ID of the commit you want to revert the file to. 2. Use 'git checkout <the commit I 阅读全文
posted @ 2023-05-02 14:58 ZhangZhihuiAAA 阅读(10) 评论(0) 推荐(0) 编辑