zepgram / magento2-fast-vm

Optimal vagrant developer box for Magento2. Folders synced by nfs/rsync. This box includes Magento developer utilities.
MIT License
110 stars 35 forks source link

Bitbucket clone #5

Closed marcelaerts closed 5 years ago

marcelaerts commented 6 years ago

Is there a way to clone a repo from bitbucket? It tried by changing the credentials but I'm getting an error with vagrant up?

ssh: Could not resolve hostname bitbucket.org:

zepgram commented 6 years ago

I never tried from bitbucket. Did you change value in config.yaml for credentials: "git_host" ?

credentials:
  git_host: 'bitbucket.org'

This will add host key in guest machine, this way clone can be done without interaction.

Otherwise, according to Atlassian I will try this for url repository: git@bitbucket.org:teamsinspace/documentation-tests.git and ssh://git@bitbucket.org:teamsinspace/documentation-tests.git

marcelaerts commented 6 years ago

Yes I tried by changing the git_host.

Bwilliamson55 commented 4 years ago

I know this issue is closed, but I wanted to drop a note here for other people. host: 'bitbucket.org' repository: 'git@bitbucket.org:{user}/{reponame}.git' Worked for me.