cancel
Showing results for 
Search instead for 
Did you mean: 
  • 926 Views

Can not clone from GitHub (Training course DO101)

Hello,

When I try to clone my Repository from the GitHub I receive the folowing error messages:

> git status -z -u
> git symbolic-ref --short HEAD
> git rev-parse master
> git rev-parse --symbolic-full-name master@{u}
fatal: no upstream configured for branch 'master'
> git for-each-ref --sort -committerdate --format %(refname) %(objectname)
> git remote --verbose
> git config --get commit.template
 
Through the browser I have no problems to connect to the specified adress.
 
Marian Petkov
 
Labels (1)
0 Kudos
6 Replies
ricardodacosta
Moderator
Moderator
  • 921 Views

Re: Can not clone from GitHub (Training course DO101)

I just ran:

 

git clone https://github.com/marianpetkov63/DO101-apps

and got this output:

 

Cloning into 'DO101-apps'...
remote: Enumerating objects: 138, done.
remote: Total 138 (delta 0), reused 0 (delta 0), pack-reused 138
Receiving objects: 100% (138/138), 135.82 KiB | 0 bytes/s, done.
Resolving deltas: 100% (48/48), done.

Mind copying and pasting my command to see how it works out for you?

0 Kudos
Reply
Loading...
  • 919 Views

Re: Can not clone from GitHub (Training course DO101)

Could you specify in which application (how) you have run the command (in VS Code or ?)

Have in mind that I work with Windows.

 

Thank you !

0 Kudos
Reply
Loading...
ricardodacosta
Moderator
Moderator
  • 916 Views

Re: Can not clone from GitHub (Training course DO101)

I used the git command from both my Mac and a Linux machine.

I was also successful doing it from VS Code on my Mac.

0 Kudos
Reply
Loading...
  • 914 Views

Re: Can not clone from GitHub (Training course DO101)

Hi,

This is the error after copy/paste/run:

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Red Hat Training\hello-nodejs> git clone https://github.com/marianpetkov63/DO101-apps
Cloning into 'DO101-apps'...
fatal: unable to access 'https://github.com/marianpetkov63/DO101-apps/': Failed to connect to github.com port 443: Timed out
PS C:\Red Hat Training\hello-nodejs>

0 Kudos
Reply
Loading...
ricardodacosta
Moderator
Moderator
  • 899 Views

Re: Can not clone from GitHub (Training course DO101)

Any chance that you need to access the internet via an HTTP proxy server? 

Or that you're currently connected to a VPN?

0 Kudos
Reply
Loading...
  • 828 Views

Re: Can not clone from GitHub (Training course DO101)

Hello and thank you !

I managed to connect. I have one more question - In SCM I can not disply SOURCE CONTROL PROVIDERS option, what I can see is only SOURCE CONTROL option.

Can you please advise ?

 

Thank you !

0 Kudos
Reply
Loading...
Join the discussion
You must log in to join this conversation.