Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Yes, you can use <a href="http://schacon.github.com/git/git-notes.html">git notes</a> that way. </p> <p>The blog post "<a href="http://alblue.bandlem.com/2011/11/git-tip-of-week-git-notes.html">Git Tip of the Week: Git Notes</a>" from <a href="https://twitter.com/#!/alblue">Alex Blewitt</a> reminds us about some of the <code>git notes</code> advantages and gotcha:</p> <blockquote> <p>the notes don’t have to be textual, nor do they have to be something which is mergeable.<br> They don’t even need to be on the <code>notes/commits</code> ref; you can create notes based on any reference.</p> <p>In fact, this is how <a href="http://code.google.com/p/gerrit/">Gerrit</a> works (which I’ve written about before).<br> Gerrit stores its review information in the Git repository under notes/review. Ordinarily, this doesn’t show up (the git log only shows notes in the notes/commits refspace)</p> <ul> <li><p>Git Notes are, in effect, a separate ‘branch’ of the repository (stored at <code>.git/refs/notes</code>)</p></li> <li><p>merges: since the notes file is essentially on its own branch, the content doesn’t get merged with merges between branches. If you wanted to merge git notes, then following the <code>Key: Value</code> on separate lines is the way to achieve git note merging nirvana.</p></li> </ul> </blockquote> <p>The <a href="http://progit.org/2010/08/25/notes.html">"note to self" article</a> also points out how pushing/pulling notes isn't exactly easy.</p> <p>Beside those two issues (merging and pushing), you should be ok with your '<code>git notes</code>' use case.</p>
    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. 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.
    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