Git 学习随笔

如何在工作区,缓存区,仓库之间复制文件

git reset --file :从仓库复制文件到缓存区

git checkout --file :从缓存区复制文件到工作区

git add --file :从工作区文件提交到缓存区

git commit --file :将缓存区文件提交到仓库

转载:https://www.runoob.com/git/git-basic-operations.html

发布了2 篇原创文章 · 获赞 0 · 访问量 4378

猜你喜欢

转载自blog.csdn.net/chenjunhong1993/article/details/104530301
今日推荐