jens jens - 1 year ago 84
Git Question

What is a git "Snapshot"?

The official Git doc says:

$ git diff test

This will show you what is different between your current working directory and the snapshot on the 'test' branch

As a newbie this is very confusing. I've never heard of the term snapshot. Do they mean the "HEAD" of the "test" branch?

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download