mirror of
https://github.com/kiegroup/git-backporting.git
synced 2025-07-19 04:58:24 +02:00
[ISSUE-18] backport still open pull requests
This commit is contained in:
parent
ec18e04885
commit
bdbcd7e90c
14 changed files with 1203 additions and 41 deletions
|
@ -95,6 +95,7 @@ export default class GitCLIService {
|
|||
* @param remote [optional] the remote to fetch, by default origin
|
||||
*/
|
||||
async fetch(cwd: string, branch: string, remote = "origin"): Promise<void> {
|
||||
this.logger.info(`Fetching ${remote} ${branch}.`);
|
||||
await this.git(cwd).fetch(remote, branch, ["--quiet"]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue