Try the command `git help revisions`

or https://git-scm.com/docs/gitrevisions

In the main, a revision (at the core) is a git storage object, and as such will always have an 'oid' (object ID); formerly known as the sha1 hash.

after the 'object' (one of four types - blob, tree, commit or tag) gets its oid, and gets entered into the DAG (directed Acyclic graph) of tags & commits and the 'tree' of trees and blobs within each commit, we then have a structure upon which to expand and extend the many ways of 'pointing at' or naming a revision.

At this point you trip over "references" or 'refs' which are those names that point, but viewed from the other end (e.g. I'm on a branch, it has a name (a refs/heads/<name>) and we want to see where it eventually points to, the particular commit revision, with it's associated message and directory tree, and the blobs of content of those directory files).

Importantly the meta data is always stored one level higher up, so blobs only store content and all files with identical content point at the same (identical!) blob. The directory trees stores the local names. Likewise an identical directory tree may have two different commit oids, each with their own message, but a common top level tree oid revision ref.


And so it goes on.


Philip

On 20/03/2019 21:49, Valery Ramirez wrote:
Hi you all, how are you?. I'm new to software version control and I'm using a IDE which when I'm going to create a new branch it shows me several options like the ones possible in Git, one of those options is the revision of the branch, the problem is that I don't know what "revision" means in the context of Git, there appears the "master" word I think reffering to the master branch but I don't know if the the revision is associated to the person who is writing the code in one development team or like if I'm doing anithing else.


Please can you enlighten me about that?

Thanks in advance for the help.
--
You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com <mailto:git-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Git for 
human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to