How to understand snapshots in git?

How should snapshots in

git be understood?
is the commit submitted for each modification a snapshot?

Git
Apr.11,2021

Snapshot, as its name implies, is equivalent to a photo. This is used in the process of git rollback. Each commit will form an id, the id value is the snapshot submitted by your project. When you roll back, you can find this id and roll back the content of this commit. The rollback process is explained in detail below.

check the status after initialization. The files are all untracked



commit
git logcommitidid

commit

commitid


git reset
--hard
--soft
--mixed
commitid

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37bac-2c0ce.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37bac-2c0ce.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?