Skip to content

Commit

Permalink
Revert "Use HTTPS over git:// when cloning starters (#3820)"
Browse files Browse the repository at this point in the history
This reverts commit 8261ac3.
  • Loading branch information
calcsam committed Feb 6, 2018
1 parent 4534f57 commit 7e19be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-cli/src/init-starter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.https({ noCommittish: true })
url = hostInfo.git({ noCommittish: true })
}

const branch = hostInfo.committish ? `-b ${hostInfo.committish}` : ``
Expand Down

0 comments on commit 7e19be5

Please sign in to comment.