Skip to content
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

Crash when trying to sync with main branch that have diff history #147

Open
amerharb opened this issue Dec 7, 2024 · 0 comments
Open

Crash when trying to sync with main branch that have diff history #147

amerharb opened this issue Dec 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@amerharb
Copy link
Collaborator

amerharb commented Dec 7, 2024

Handel the error:
⨯ Error: Need to specify how to reconcile divergent branches.
at new Promise ()
at Generator.next ()

Description

In case the local repo main branch have a divergent history than main in the remote the app crash at first requires as it fail to "git pull"

Suggestion: Always to force and rebase with git pull from main, in other words to accept remote as is. Or basically always checkout the new branch from origin/<

> in this case we only need to git fetch then checkout new branch from origin/<>

@amerharb amerharb added the bug Something isn't working label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant