anancds / document

MIT License
1 stars 0 forks source link

git放弃本地文件修改 #161

Open anancds opened 3 years ago

anancds commented 3 years ago

未使用git add 缓存代码: git checkout -- filename git checkout .

anancds commented 3 years ago

已使用git add 缓存代码,未使用git commit: git reset HEAD filename git reset HEAD