Welcome to the new Linux Foundation Forum!

Lab 3.2- Git clone command

SsiddiquSsiddiqu Posts: 7
edited May 2017 in LFS252 Class Forum

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.

[email protected]:~# git clone https:://git.openstack.org/openstack-dev/devstack -

Cloning into '-'...

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

ed

[email protected]:~# b stable/newton

b: command not found

[email protected]:~# 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

  • serewiczserewicz Posts: 500
    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:


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

    Regards,

  • SsiddiquSsiddiqu Posts: 7

    Thanks, this worked.

Sign In or Register to comment.