Search code examples
gitgithubgithub-for-mac

Upstream pulls with the GitHub desktop client


I can't seem to find an option to perform a 'git pull upstream master' using the Mac desktop client for GitHub (currently 1.2.13). Is that supported yet outside of the command line?


Solution

  • The Github client does not support this feature as far as I can tell.

    The way to work around this you can change the primary repo to the upstream repo that you want to use and then change the repo back to your own.

    1. Go to the settings tab
    2. Change the "Primary remote repository" to the upstream repo you want to use.
    3. Press "Update Remote"
    4. Press "Sync Branch"
    5. Change the "Primary remote repository" back to the original forked repo you were using.
    6. Press "Update Remote"

    And you're done.

    enter image description here