-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub for Mac style sync? #618
Comments
👍 Very good idea. This project might become GitHub official CLI tool and having the same operations as the ones in the desktop app is a win for the user in my opinion. @dannygreg What is even a "sync" on Mac? |
@jspahrsummers explains what is a "Sync" on Mac. It's some serious magic using libgit2, but it boils down to:
|
Interesting... I'm still trying to figure out whether this is something we can do by only wrapping git commands (i.e something we can do without having to use Accomplishing step 2 ( |
Perhaps we could have a
hub sync
command that performs the equivalent of pressing the 'Sync' button in the GitHub for Mac app? I can implement this once I know exactly what the Sync button does. According to the GitHub for Mac FAQ:Maybe
hub sync
can simply do something likegit pull --rebase=preserve
. Or we could wrapgit pull
and add a--sync
option that does the same thing.Does anyone else think this would be a nice feature to have? Any ideas/thoughts?
The text was updated successfully, but these errors were encountered: