Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>From the <strong><em>theoretical</em></strong> point of view:</p> <ul> <li><strong>tags</strong> are symbolic names for a given <em>revision</em>. They always point to the same object (usually: to the same revision); they do not change.</li> <li><strong>branches</strong> are symbolic names for <em>line of development</em>. New commits are created on top of branch. The branch pointer naturally advances, pointing to newer and newer commits.</li> </ul> <hr> <p>From the <strong><em>technical</em></strong> point of view:</p> <ul> <li><strong>tags</strong> reside in <code>refs/tags/</code> namespace, and can point to <em>tag objects</em> (annotated and optionally GPG signed tags) or directly to <em>commit object</em> (less used lightweight tag for local names), or in very rare cases even to <em>tree object</em> or <em>blob object</em> (e.g. GPG signature).</li> <li><strong>branches</strong> reside in <code>refs/heads/</code> namespace, and can point only to <em>commit objects</em>. The <code>HEAD</code> pointer must refer to a branch (symbolic reference) or directly to a commit (detached HEAD or unnamed branch).</li> <li><strong>remote-tracking branches</strong> reside in <code>refs/remotes/&lt;remote&gt;/</code> namespace, and follow ordinary branches in remote repository <code>&lt;remote&gt;</code>.</li> </ul> <hr> <p>See also <a href="https://book.git-scm.com/docs/gitglossary" rel="noreferrer" title="gitglossary(7) - A GIT Glossary">gitglossary</a> manpage:</p> <blockquote> <p><strong>branch</strong> </p> <blockquote> <p>A "branch" is an active line of development. The most recent commit on a branch is referred to as the tip of that branch. The tip of the branch is referenced by a branch head, which moves forward as additional development is done on the branch. 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.</p> </blockquote> <p><strong>tag</strong></p> <blockquote> <p>A ref pointing to a tag or commit object. In contrast to a head, a tag is not changed by a commit. Tags (not tag objects) are stored in <code>$GIT_DIR/refs/tags/</code>. [...]. A tag is most typically used to mark a particular point in the commit ancestry chain.</p> </blockquote> <p><strong>tag object</strong></p> <blockquote> <p>An object containing a ref pointing to another object, which can contain a message just like a commit object. It can also contain a (PGP) signature, in which case it is called a "signed tag object".</p> </blockquote> </blockquote>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload