git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: suggestion for git glossary: upstream, downstream

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 4, 2021, 23:57 UTC
Message-ID
<xmqqwnws1ci9.fsf@gitster.c.googlers.com>
In-Reply-To
<2020Dec29.0815.scs.0001@quinine2.home>
scs@eskimo.com (Steve Summit) writes:
Show 6 quoted lines
> The terms "upstream" and "downstream" are heavily used in much
> writing about git, with obvious meanings and implications for
> those who use git regularly, but they're not defined at
> https://git-scm.com/docs/gitglossary .  Perhaps they should be?
> (Sorry, I'm not nearly experienced enough with git yet to write
> good definitions myself, though.)

Yup, 'upstream' has clear definition and we use the phrase a lot. 'downstream', not that much, primarily because your repository may have its upstream (singular) but typically you may not even know the set of people who consider your repository their upstream.

Having said that, there isn't much we can actually say about 'upstream' as a unversal truth, no? I can readily think of this:

    Your upstream is the line(s) of history you base your
    development on.

but beyond that, there aren't much that is common across different workflows how 'upstream' appears to you. Sometimes you may ask your changes to be pulled by it, sometimes you may directly push into it while others like you who consider it their upstream do the same.

So...
Previous: Steve Summit
Message 2 of 2 in “suggestion for git glossary: upstream, downstream”
  1. Steve SummitDec 29, 2020
  2. Junio C HamanoJan 4, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.