diff --git a/dist/index.js b/dist/index.js index 2827a60..bc0bfac 100644 --- a/dist/index.js +++ b/dist/index.js @@ -68,8 +68,7 @@ function tryFetch(git, remote, branch) { return __awaiter(this, void 0, void 0, function* () { try { yield git.fetch([`${branch}:refs/remotes/${remote}/${branch}`], remote, [ - '--force', - '--depth=1' + '--force' ]); return true; } diff --git a/src/create-or-update-branch.ts b/src/create-or-update-branch.ts index 0fce3c4..b048d5d 100644 --- a/src/create-or-update-branch.ts +++ b/src/create-or-update-branch.ts @@ -35,8 +35,7 @@ export async function tryFetch( ): Promise { try { await git.fetch([`${branch}:refs/remotes/${remote}/${branch}`], remote, [ - '--force', - '--depth=1' + '--force' ]) return true } catch {