AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Link objects final draft tagger12/30/2023 ![]() Tags (not tag objects) are stored in $GIT_DIR/refs/tags/. In contrast to a head, a tag is not changed by a commit. A single git repository can track an arbitrary number of branches, but your working tree is associated with just one of them (the "current" or "checked out" branch), and HEAD points to that branch.Ī ref pointing to a tag or commit object. The tip of the branch is referenced by a branch head, which moves forward as additional development is done on the branch. The most recent commit on a branch is referred to as the tip of that branch. Ī "branch" is an active line of development. remote-tracking branches reside in refs/remotes// namespace, and follow ordinary branches in remote repository.The HEAD pointer must refer to a branch (symbolic reference) or directly to a commit (detached HEAD or unnamed branch). branches reside in refs/heads/ namespace, and can point only to commit objects.tags reside in refs/tags/ namespace, and can point to tag objects (annotated and optionally GPG signed tags) or directly to commit object (less used lightweight tag for local names), or in very rare cases even to tree object or blob object (e.g.The branch pointer naturally advances, pointing to newer and newer commits. New commits are created on top of branch. branches are symbolic names for line of development.They always point to the same object (usually: to the same revision) they do not change. tags are symbolic names for a given revision.
0 Comments
Read More
Leave a Reply. |