Git 札记(二)

Git 笔记(二)工作区+暂存区(索引区)+版本库git diff --cached 版本库和索引区git diff 工作区和索引区git

Git 笔记(二)

工作区+暂存区(索引区)+版本库

git diff --cached 版本库和索引区

git diff 工作区和索引区

git diff HEAD 工作区和版本库

git add ?工作区->暂存区

git commit 暂存区->版本区

git checkout file 暂存区->工作区

git reset file 版本库->暂存区

git checkout HEAD file 版本库->工作区

?