Skip to content

Pull option does not appear when "Pull first before pushing" error is thrown #5451

Closed

Description

@NudeNULL

Description

On MacOS I create a commit, also on Windows machine for the same repository from another account was pushed another commit before, when I press Push on MacOS machine is gave me the error about "Pull first before pushing...blabla" but no Pull is displayed...so i am stuck.

Version

  • GitHub Desktop:1.3.3
  • Operating system:
    macOS High Sierra 10.13.6

Steps to Reproduce

In our case it was reproduced like this:

  1. From windows machine push to master a commit
  2. From macOS machine commit to master
  3. From macOS machine try to Push (Github Desktop is showing 1 Push)
  4. Appears an error something like - "You have to pull before pushing"
  5. Github Desktop continues to show that there is no Pull...

Expected Behavior

After the step 4 usually GitHub Desktop loads the commit and updates UI -> so we see that there is a Pull, and after pulling we can Push.

Actual Behavior

In the UI I always see that I have 1 Push and 0 Pulls and whatever I tried(restart Github Desktop, try Pushing again, adding one more commit to push), it doesn't help, It simply don't load the commit that had to be pulled before pushing.

Additional Information

Logs

Activity

  1. steveward commented on Aug 23, 2018

    @steveward
    Contributor

    Thanks for the report @NudeNULL. I was able to reproduce this behavior as well. I did some digging and found this was previously reported in #2431 and then fixed in #2445, so this appears to be a regression.

    As a workaround you should be able to pull down that change by going to the file menu in GitHub Desktop and selecting Repository > Pull.

  2. added
    bug
    on Aug 23, 2018
  3. changed the title [-]Unable to Pull[/-] [+]Pull option does not appear when "Pull first before pushing" error is thrown[/+] on Aug 23, 2018
  4. steveward commented on Aug 23, 2018

    @steveward
    Contributor

    I missed the fact that this was a duplicate of #5451, so I am going to close this issue out in favor of that one. @NudeNULL please follow along there for updates.

  5. shiftkey commented on Aug 25, 2018

    @shiftkey
    Member

    @steveward #5451 is this issue. Can you clarify which issue this is a duplicate of, as I couldn't spot a different open issue that looks like this one.

  6. steveward commented on Aug 28, 2018

    @steveward
    Contributor

    @shiftkey I meant to link to #3766. Clipboards are hard.

  7. steveward commented on Aug 28, 2018

    @steveward
    Contributor

    Actually taking a deeper look at #3766 it's the same error message, but different repro steps, so I'm going to reopen this issue. Sorry for the noise.

  8. added
    priority-3
    on Oct 11, 2018
  9. cheshire137 commented on Oct 18, 2018

    @cheshire137
    Contributor

    I experienced this as well in 1.4.3-beta2 in macOS.

  10. self-assigned this
    on Feb 15, 2019
  11. added this to the 1.6.3 milestone on Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugpriority-3

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions