Discuss / Git / git 新版本命令有更新

git 新版本命令有更新

Topic source

假蛙

#1 Created at ... [Delete] [Delete and Lock User]

系统环境windows 11

git 版本2.44.0

丢弃工作区更改的命令如下:

git restore <file>

撤销暂存区提交的命令如下:

git restore --staged <file>


  • 1

Reply