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: log error for sync mirror with existing local copy #8597

merged 1 commit into from Feb 14, 2020


Copy link

glaubinix commented Feb 12, 2020

In case sync mirror fails if there already is a local copy available this will now output the reason why the sync fails:


Failed to update, package information from this repository may be outdated


Sync mirror failed: Failed to execute git remote set-url origin '' && git remote update --prune origin && git remote set-url origin '' Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error: Could not fetch origin

Failed to update, package information from this repository may be outdated
@Seldaek Seldaek added this to the 1.10 milestone Feb 13, 2020
@Seldaek Seldaek merged commit fe5b4fa into composer:master Feb 14, 2020
2 checks passed
2 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed

This comment has been minimized.

Copy link

Seldaek commented Feb 14, 2020


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

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.