什么是混帐“快照”? [英] What is a git "Snapshot"?
本文介绍了什么是混帐“快照”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
官方的Git文档说:
$ git diff test
这会告诉你什么是不同的当前工作目录和'test'分支上的快照
This will show you what is different between your current working directory and the snapshot on the 'test' branch
作为一个新手,这是非常令人困惑的。我从来没有听说过快照这个词。它们是指测试分支的HEAD吗?
As a newbie this is very confusing. I've never heard of the term snapshot. Do they mean the "HEAD" of the "test" branch?
推荐答案
快照是某事物的状态(例如文件夹)在特定的时间点。在这种情况下,快照意味着测试分支的当前内容,这不一定是头版本。
A snapshot is the state of something (e.g. a folder) at a specific point in time. In this case, snapshot means the current content of the test branch, this doesn't have to be the head revision.
这篇关于什么是混帐“快照”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文