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

pushRepo not working properly #1113

Open
dturopoli opened this issue Jun 5, 2024 · 1 comment
Open

pushRepo not working properly #1113

dturopoli opened this issue Jun 5, 2024 · 1 comment

Comments

@dturopoli
Copy link

Even though "pushRepo" option is defined it is ignored in fetch method

lib/plugin/GitBase.js

fetch(remoteUrl) {
return this.exec('git fetch').catch(err => {
this.debug(err);
throw new Error(Unable to fetch from ${remoteUrl}${EOL}${err.message});
});
}

@webpro
Copy link
Collaborator

webpro commented Jun 16, 2024

Yeah, the pushRepo is meant to push to a different origin, not pull/fetch. You might want to use a different origin altogether to pull and push from/to the same origin?

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

No branches or pull requests

2 participants