Skip to content

Add Sync button #1565

Closed
Closed

Description

@stevemoser

Description

GitHub for Mac simplified fetching/pulling/syncing with a Sync button. I would like to see this functionality come to GitHub Desktop.

Activity

  1. joshaber commented on May 17, 2017

    @joshaber
    Contributor

    We made the conscious decision to 👢 the Sync button this time around. While it did simplify some things, it also caused a lot of confusion.

    The current button should do what you want most of the time. Are there cases where it falls short?

  2. added
    more-info-needed
    and removed on May 18, 2017
  3. tnrich commented on May 19, 2017

    @tnrich

    I really miss the sync button too (or actually the ability to hit Cmd-S and have everything sync). Is there some way we can allow users to enable the functionality, but not have it be the default?

    Thanks for the cool new tool!

  4. niik commented on May 19, 2017

    @niik
    Member

    For those interested in our reasoning and our thinking when developing the new flow for staying up to date there's a write up in one of our early design exploration issues

  5. tskarman commented on May 19, 2017

    @tskarman

    Same here, I am using "GitHub for Windows" for exactly two things:

    • pressing "Alt +S" to quickly sync my main repo.
    • quickly clone GitHub repositories.

    I hope I'll find more use cases with the new client, but quickly pressing "Alt + S" I would really miss.

  6. stevemoser commented on May 19, 2017

    @stevemoser
    Author

    Mostly I wanted an easy setup for non-technical people (GitHub for poets) to edit their GitHub pages site offline. Many times they have few or no other contributors. So telling them to hit CMD+S to save like they do in other apps is easier than telling them to shift-CMD-P (to pull changes they might have made on the site) then CMD-P. Thanks for the link to the discussion. I forgot to search for closed issues before creating this issue.

  7. removed
    more-info-needed
    on Jun 2, 2017
  8. joshaber commented on Jun 29, 2017

    @joshaber
    Contributor

    Thanks for the suggestion!

    This idea is interesting for the future, but this is beyond the scope of our current roadmap.

    I'm going to add the future-proposal label to this issue and close it out, so that we don't get overwhelmed with our backlog! We'll revisit these as part of our next planning session.

  9. joshaber commented on Sep 18, 2017

    @joshaber
    Contributor

    @j-f1 pointed out in #2751 (comment):

    The only difference AFAIK is that if your local branch is both ahead of and behind the remote, it will pull and merge on the first click, and you have to click again to push.

    I wonder if we should change that so that clicking the button always tries to catch you all the way up?

  10. j-f1 commented on Sep 18, 2017

    @j-f1
    Contributor

    I wonder if we should change that so that clicking the button always tries to catch you all the way up?

    From #549:

    If you’re both ahead and behind, we’ll make you do a pull before giving you the ability to push. This is similar to what Sync does today except we will do a pull and merge but we will not automatically push that merge commit. Instead we'll leave that action to the user so that we'll never push a result that they're not comfortable with. We might consider updating the button text in this state to something like 'Pull and merge'.

    (emphasis mine)

  11. ethan-zhang-rs commented on Apr 9, 2018

    @ethan-zhang-rs

    Personly I really hate the new pull/push button in the latest version, a freezing issue on this button occurs quite often. I had to roll back to ver.223 to get the sync button back to make things just work fine.

  12. shiftkey commented on Apr 9, 2018

    @shiftkey
    Member

    Personly I really hate the new pull/push button in the latest version, a freezing issue on this button occurs quite often.

    @ethan-zhang-rs could you open a issue with details to help reproduce this issue?

  13. hyiltiz commented on Jul 21, 2018

    @hyiltiz

    The Sync button really introduces a lot of confusion, and is not even part of the standard git distribution. Please keep it removed.

  14. billygriffin commented on Nov 14, 2018

    @billygriffin
    Contributor

    Hi folks, after a lot of internal deliberation on this, I'm going to remove the future-proposal label to indicate that it's not something we intend to do. We really appreciate the desire to have it be as simple as possible, and we want to continue iterating on the current state to make it as simple and intuitive as possible. But "Sync" as a one stop shop introduced more problems than it solved, so we're going to continue in our current direction. Thanks for all the input!

  15. hyiltiz commented on Nov 15, 2018

    @hyiltiz

    If what @billygriffin said really means Sync button is officially never coming back, then I'll start considering to answer Just download from Github when people say what is a good "git software" to use.

  16. billygriffin commented on Nov 15, 2018

    @billygriffin
    Contributor

    @hyiltiz We hope you will! 😄 We definitely want to keep things as intuitive as possible and remove points of potential pain and frustration at every opportunity, so it's always a balancing act, but we're confident in this decision at present.

  17. devinrhode2 commented on Aug 28, 2020

    @devinrhode2

    I am trying to figure out exactly what the "Sync" button used to do and create a simple command line alias.. if it's not too complicated. Does anyone know what exactly it used to do?

  18. julien-c commented on Aug 28, 2020

    @julien-c

    git pull --rebase && git push

  19. saschanaz commented on Aug 28, 2020

    @saschanaz
    Contributor

    I'd say just git pull && git push. The pull behavior can just follow the configured default. (git config pull.rebase)

  20. DanJBower commented on Apr 24, 2023

    @DanJBower

    I really like the sync feature which is present in other IDEs such as VS Code but understand why it isn't in GitHub Desktop at the minute.

    However, couldn't an option be added so that the user can choose to use a sync button instead of the more granular button if they desire too?

  21. dannybeckett commented on Oct 2, 2025

    @dannybeckett

    I'd also like a Sync button for: Fetch, Pull, Push

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions