Git 快照是原子的意味着什么?

Git 快照是原子的意味着什么?,git,version-control,Git,Version Control,在以下命令和说明中,限定符“原子快照”中的“原子快照”是什么意思?我从上下文中最好的猜测是类似于粒度的东西 git reset <commit> # Move the current branch tip backward to <commit>, reset the staging # area to match, but leave the working directory alone. All changes made # since <commit&

在以下命令和说明中,限定符“原子快照”中的“原子快照”是什么意思?我从上下文中最好的猜测是类似于粒度的东西

git reset <commit>

# Move the current branch tip backward to <commit>, reset the staging 
# area to match, but leave the working directory alone. All changes made 
# since <commit> will reside in the working directory, which lets you 
# re-commit the project history using cleaner, more atomic snapshots.
git重置
#将当前分支尖端向后移动,以重置分段
#要匹配的区域,但保留工作目录。所做的所有更改
#由于将驻留在工作目录中,因此
#使用更干净、更原子的快照重新提交项目历史记录。
#因为将驻留在工作目录中,该目录允许您
#使用更干净、更原子的快照重新提交项目历史记录。
在这种情况下,我认为这意味着您可以将HEAD重置为以前的某个提交,然后将所有后续更改压缩为一个提交。提交是
git
存储库中最小的更改单元,通常需要一次提交,其中包含向repo添加某些工作所需的所有更改

# since <commit> will reside in the working directory, which lets you 
# re-commit the project history using cleaner, more atomic snapshots.