如何在工作区,缓存区,仓库之间复制文件
git reset --file :从仓库复制文件到缓存区
git checkout --file :从缓存区复制文件到工作区
git add --file :从工作区文件提交到缓存区
git commit --file :将缓存区文件提交到仓库
如何在工作区,缓存区,仓库之间复制文件
git reset --file :从仓库复制文件到缓存区
git checkout --file :从缓存区复制文件到工作区
git add --file :从工作区文件提交到缓存区
git commit --file :将缓存区文件提交到仓库