Skip to content
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
DiscussPlaces
DiscussPlaces
Destinations Popular Recent City guides Chat
Log in Join free New topic
  1. Discussions around everything
  2. Categories
  3. United States
  4. What is git remote add upstream?

What is git remote add upstream?

Scheduled Pinned Locked Moved United States
remoteupstreamupstream remotestepurl
2 Posts 2 Posters 970 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • bigbird816B
    bigbird816B
    bigbird816
    Discussion Fanatics
    wrote on last edited by
    #1

    You have access to pull and push from origin, which will be your fork of the main diaspora repo. To pull in changes from this main repo, you add a remote, upstream in your local repo, pointing to this original and pull from it. So origin is a clone of your fork repo, from which you push and pull.

    1 Reply Last reply
    0
    • whiteladybug342W
      whiteladybug342W
      whiteladybug342
      Discussion Fanatics
      wrote on last edited by
      #2

      The term upstream and downstream refers to the repository. Generally, upstream is from where you clone the repository, and downstream is any project that integrates your work with other works. However, these terms are not restricted to Git repositories.

      Similarly, how do I add an upstream remote? Set up Upstream Remote

      1. Step 1: Get Central Repository URL. First, we need the URL of the central repository.
      2. Step 2: Add the Remote. Second, we need to connect the upstream remote -- the central repository to our local repo.
      3. Step 3: Update Local Repo.
      4. Step 4: Complete the Cycle.

      Subsequently, one may also ask, how do I use upstream in git?

      Git upstream: Keep up-to-date and contribute When you want to share some work with the upstream maintainers you branch off master , create a feature branch. When youre satisfied, push it to your remote repository. If you need to squash a few commits into one you can use the awesome rebase interactive at this point.

      What does git remote add do?

      This command is used to add a “remote” repository URL <url> which is referred in other git commands (such as pull or push) with the provided name <name_of_your_remote>. Once you run this command with the correct URL as provided by GitHub, you can pull or push in to the remote repository.

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      New here?

      DiscussPlaces is where people swap honest notes about living in, visiting and studying in places around the world.

      Join free

      Related topics

      • Can you add oil to car without changing?
        silverleopard339S
        silverleopard339
        0
        2
        934

      • How do you remove the battery from a directv remote?
        ticklishgoose482T
        ticklishgoose482
        0
        2
        1.5k

      • How do you become an underwater welder in the Navy?
        brownzebra758B
        brownzebra758
        0
        2
        911

      • What does a green light on an Xfinity Remote mean?
        S
        smalllion207
        0
        2
        1.5k

      • How do I reset my spotlight ring?
        lazyostrich587L
        lazyostrich587
        0
        2
        1.3k

      Trending this week

      Tags

      remoteupstreamupstream remotestepurl

      Whether the information provided was useful?

      Add a quick comment about your valuable suggestion to help us improve.




      We are glad to make you happy, kindly share this feedback with your friends and family to know as well


      Where is it?

      DiscussPlaces

      Honest conversations about places: living there, visiting, studying and eating well.

      Explore

      Countries and cities Popular topics Recent topics Tags

      Guides

      City guides Geography and facts World flags Ask a question

      Community

      Live chat Members Join free

      © DiscussPlaces AboutContactPrivacyTermsPhotos: Manarola by Timothy A. Gonsalves (CC BY-SA 4.0) and Lisbon by Dale Cruse (CC BY 4.0), via Wikimedia Commons.

      Live chat
      • Sound
      • Notification
      • Hide
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0