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

git pull failed with zigwin32 #38

Open
praschke opened this issue Oct 28, 2021 · 1 comment
Open

git pull failed with zigwin32 #38

praschke opened this issue Oct 28, 2021 · 1 comment
Labels
wontfix This will not be worked on

Comments

@praschke
Copy link

being lazy and using old zigmod (from two weeks ago?) to refresh zigmod:

gemini$ zigmod fetch

fetch: git: https://github.com/marlersoft/zigwin32
git pull failed

in the zigwin32 deps directory:

gemini$ git pull

hint: You have divergent branches and need to specify how to reconcile them.
hint: You can do so by running one of the following commands sometime before
hint: your next pull:
hint:
hint:   git config pull.rebase false  # merge (the default strategy)
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
fatal: Need to specify how to reconcile divergent branches.

gemini$ git fetch origin
gemini$ git reset --hard origin/main

then zigmod fetch succeeded.

@nektro
Copy link
Owner

nektro commented Oct 28, 2021

this is due to the way the zigwin32 repo is managed currently requiring the occasional --force pull which zigmod does not do. the alternative is to delete the .zigmod folder and rerun zigmod fetch

@nektro nektro changed the title git pull failed git pull failed with zigwin32 Dec 1, 2021
@nektro nektro added the wontfix This will not be worked on label Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants