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
merged 1 commit into from Feb 14, 2020

Conversation

@glaubinix
Copy link
Contributor

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:

Before

Failed to update git@github.com:glaubinix/test-repo-rename.git, package information from this repository may be outdated

After

Sync mirror failed: Failed to execute git remote set-url origin 'git@github.com:glaubinix/test-repo-rename.git' && git remote update --prune origin && git remote set-url origin 'git@github.com:glaubinix/test-repo-rename.git'

git@github.com: 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 git@github.com:glaubinix/test-repo-rename.git, 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
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@Seldaek

This comment has been minimized.

Copy link
Member

Seldaek commented Feb 14, 2020

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
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.