系统环境windows 11
git 版本2.44.0
丢弃工作区更改的命令如下:
git restore <file>
撤销暂存区提交的命令如下:
git restore --staged <file>
Sign in to make a reply
假蛙
系统环境windows 11
git 版本2.44.0
丢弃工作区更改的命令如下:
git restore <file>
撤销暂存区提交的命令如下:
git restore --staged <file>