diff --git a/packages/gatsby-cli/src/init-starter.js b/packages/gatsby-cli/src/init-starter.js index 2bed30e3a8288..8f1d7569b00c3 100644 --- a/packages/gatsby-cli/src/init-starter.js +++ b/packages/gatsby-cli/src/init-starter.js @@ -82,7 +82,7 @@ const clone = async (hostInfo: any, rootPath: string) => { url = hostInfo.ssh({ noCommittish: true }) // Otherwise default to normal git syntax. } else { - url = hostInfo.git({ noCommittish: true }) + url = hostInfo.https({ noCommittish: true }) } const branch = hostInfo.committish ? `-b ${hostInfo.committish}` : ``