Definition of “downstream” and “upstream”

前端 未结 5 1331
难免孤独
难免孤独 2020-11-21 04:59

I\'ve started playing with Git and have come across the terms \"upstream\" and \"downstream\". I\'ve seen these before but never understood them fully. What do these terms

5条回答
  •  醉梦人生
    2020-11-21 05:21

    That's a bit of informal terminology.

    As far as Git is concerned, every other repository is just a remote.

    Generally speaking, upstream is where you cloned from (the origin). Downstream is any project that integrates your work with other works.

    The terms are not restricted to Git repositories.

    For instance, Ubuntu is a Debian derivative, so Debian is upstream for Ubuntu.

提交回复
热议问题