Welcome to the Linux Foundation Forum!

Lab 3.2- Git clone command

Hi,

After performig, SSH compute node, sudo apt-get update and sudo apt-get install git vim command,

I am getting this error message when trying to issue the git cone command to compute-node.

root@compute-node:~# git clone https:://git.openstack.org/openstack-dev/devstack -

Cloning into '-'...

fatal: unable to access '//git.openstack.org/openstack-dev/devstack/': <url> malform

ed

root@compute-node:~# b stable/newton

b: command not found

root@compute-node:~# git clone https:://git.openstack.org/openstack-dev/devstack -

Cloning into '-'...

fatal: unable to access '//git.openstack.org/openstack-dev/devstack/': <url> malform

ed.

 

Any suggestions, what is the issue and how can be resolved?

Thanks,

Comments

  • Posts: 1,000
    edited May 2017

    Hello,

    The output from the shell is indicating that there is a line break from the copy and paste. As a result the full URL is not being accepted in the first command, and the rest of the URL is being seen as a second command, which throws the "b command not found"  The git clone command should be on one line:


    1. git clone https://git.openstack.org/openstack-dev/devstack -b stable/newton

    Regards,

  • Posts: 7

    Thanks, this worked.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training