Posts with tag restore Searchdiscard-changes-or-restore-a-file2024-04-28gitrestoresoftwares-and-tools恢复被删除的文件:git restore <origin_file_namerestore-cur-dir2024-04-03gitrestoresoftwares-and-toolsref: https://stackoverflow.com/questions/15404535/how-to-git-reset-hard-a-subdirectorygit restore --source=HEAD --staged --worktree -- . git restore -s@ -SW -- <pathNo more posts to load.