How to do Pull Origin in GitHub Desktop
Asked Answered
L

2

6

I just updated my GitHub Desktop version from 3.3.6.1 to the latest. I was able to update my remote branch by using Fetch origin but I don't see Pull Origin button to update my local branch.

enter image description here

Not sure how to get it. I did some research but wasn't able to find out the Pull Origin button.

Thanks

Laue answered 3/7, 2018 at 17:15 Comment(9)
A pull is a fetch and then a merge. Click the fetch origin button?Coin
I am aware of that but it never updates the local repo and this is what all I am askingLaue
It might be that there’s nothing to update? Try confirming using the command line.Coin
There is an update. I've checked the merge request and my local is not getting updated by just pressing the fetch origin.Laue
Have you confirmed this on the command line? Maybe there’s an error which github desktop isn’t reporting?Coin
My fellow Developer has merged his changes, it is confirmed that there is a change and I need to update my local repo. In prior versions it used to say update from now in the latest version there should be pull origin to update my local repo.Laue
It’s not that I don’t trust your fellow developer, but could you try these things in the command line and see what the result is?Coin
I guess the problem was with the UI, not sure what and why. I reinstalled it and created a local repo and after fetch origin i was able to get the Pull origin to update my local repo. Thank you for following up on this.Laue
Fab. Consider answering the question with your solution?Coin
A
8

I was having troubles understanding how Fetch origin works on GitHub Desktop, but eventually figured out that the origin here is the fork.

To fetch and merge changes from the remote, one should update the Primary remote repository (origin) field on Repository -> Repository settings with the remote's link.

At this stage, the Fetch origin works as expected and shows the Pull origin button to merge the changes from the remote into one's fork.

Abyssal answered 15/10, 2018 at 17:23 Comment(0)
R
0

Flutter Version:3.16.3 Actually I had previously added command in additional args in my old flutter/dart version to avoid null safety in my vs code settings,that was working fine. but after upgrade my flutter now. I had to remove them , and it started working fine. enter image description here

Ricker answered 8/12, 2023 at 6:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.