diff --git a/lib/platform/git/storage.js b/lib/platform/git/storage.js index 5305ca53f26b3618b1cf51fe4d5573e2a59f6286..c19e00e0f92a2ffe734ae7b75aaeebbc4596746a 100644 --- a/lib/platform/git/storage.js +++ b/lib/platform/git/storage.js @@ -85,7 +85,7 @@ class Storage { git = Git(cwd).silent(true); await git.raw(['remote', 'set-url', 'origin', config.url]); const fetchStart = process.hrtime(); - await git.fetch([config.url, '--depth=2', '--no-single-branch']); + await git.fetch([config.url, '--depth=2']); await determineBaseBranch(); await resetToBranch(config.baseBranch); await cleanLocalBranches();