初始无更改
在代码下面多加了print(“”hello world“”)
此时将其添加到缓冲区
git add .
从缓存区撤销
it restore --staged .
git checkout .
回原状态
初始无更改
在代码下面多加了print(“”hello world“”)
此时将其添加到缓冲区
git add .
从缓存区撤销
it restore --staged .
git checkout .
回原状态