I how to resolve git clone fails in 443 - github

It's my first useing git I want to clone "unfp",
so i use $ git clone https://github.com/UNF/unfp.git
Cloning into 'unfp'...
fatal: unable to access 'https://github.com/UNF/unfp.git/': OpenSSL SSL_connect: Connection was reset in connection to github.com:443
but it show the error
I need your help.

you may have to setup SSO/SSH for authentication

Related

make new repository in git hub

I have my project on GitHub at some location,
https:github.com/vidurasilva/loging_Form.git
I used the commands one by one and there has errors also,
C:\wamp\www\PhpProject>git remote add origin https:github.com/vidurasilva/Register_For_New.git
fatal: remote origin already exists.
C:\wamp\www\PhpProject>git push -u origin master
fatal: unable to access 'https:github.com/vidurasilva/loging_Form.git/': Couldn't resolve host 'github.com'
C:\wamp\www\PhpProject>git remote set-url origin git#github.com:vidurasilva/Register_Form_New.git
C:\wamp\www\PhpProject>git push -u origin --all
ssh: Could not resolve hostname github.com: Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
C:\wamp\www\PhpProject>git clone https:github.com/vidurasilva/Register_Form_New.git
Cloning into Register_Form_New...
fatal: unable to access https:github.com/vidurasilva/Register_Form_New.git/: Couldn't resolve host github.com
Try this:
git remote remove origin
git remote add https://github.com/vidurasilva/Register_Form_New.git
git push origin master
Further assistance is available in this article from GitHub support.
First fix this
git remote add origin https:github.com/vidurasilva/Register_For_New.git
with this
git remote add origin https://github.com/vidurasilva/Register_For_New.git
Then fix this
git clone https:github.com/vidurasilva/Register_Form_New.git
with this
git clone https://github.com/vidurasilva/Register_Form_New.git

Unable to push changes into gerrithub.io

I have the repo here Link to the repo
I cloned it and did some changes but when I try to push it.
It gives me the following error:
$ git push origin HEAD:refs/for/master
Username for 'https://review.gerrithub.io': ardyflora
Password for 'https://ardyflora#review.gerrithub.io':
fatal: Authentication failed for
'https://review.gerrithub.io/ardyflora/virginPulseAuto/'
I have even added the ssh key. Any pointer or help will be appreciated :)
Authentication failure for HTTPS. Better you can take a try with SSH.
Copy the URL for SSH of your repository using a browser and update your local origin.
$ git remote set-url origin <ssh-clone-url>
$ git push origin HEAD:refs/for/master

How to allow gem install from github source on digitalocean server

Hello thank you for reading!
how do i open up and allow github gem source to be run on digitalocean server.
Retrying git clone 'git://github.com/tcocca/acts_as_follower.git'
"/home/DIR/.rvm/gems/ruby-2.3.3/cache/bundler/git/acts_as_follower-325dbadb5c64b190d66abe4d3ec636f4d3716066"
--bare --no-hardlinks --quiet due to error (2/4): Bundler::Source::Git::GitCommandError Git error: command git clone
'git://github.com/tcocca/acts_as_follower.git'
"/home/DIR/.rvm/gems/ruby-2.3.3/cache/bundler/git/acts_as_follower-325dbadb5c64b190d66abe4d3ec636f4d3716066"
--bare --no-hardlinks --quiet in directory /Dir has failed.fatal: unable to connect to github.com: github.com[0:IP]: errno=Connection
refused github.com[1:IP]: errno=Connection refused
Any help on this would be awesome.
Thanks in advance.
The solution was to change the global.
git config --global url.https://github.com/.insteadOf git://github.com/

Failed to connect to github.com port 443: Time out

When try to clone a project using the git clone command I got this following error message.
Failed to connect to github.com port 443: Time out
DDoS attack check this link https://status.github.com/
The connectivity problems have been identified as a DDoS attack. We're working to mitigate now.
Make sure that you have used
$ git remote add origin git#github.com:**yourname**/learngit.git
to connect your local repository to github.
If you find the following error:
fatal: remote origin already exists.
Then write the following statement in your git bash.
$ git remote rm origin
then write again to re-connect your repository to GitHub.
$ git remote add origin git#github.com:**yourname**/learngit.git
If the above steps can not help you, there must be some ssh errors I think.

cant add a file into github

I want to add a file into github as follow:
git init
touch test.txt
git add test.tst
git cmmit -m'testtest'
git push origin master
then it will raise this exception:
error: The requested URL returned error: 403 while accessing https://github.com/yacheng1127/YWProject.git/info/refs
fatal: HTTP request failed
then I verify the public key is attached to my github account:
$ ssh -T git#github.com
Hi yacheng1127! You've successfully authenticated, but GitHub does not provide shell access.
$ ssh-add -l
2048 1a:a1:33:26:21:68:7e:9c:26:19:fb:74:a4:d1:6b:bd yacheng1127#gmail.com (RSA)
then I check my remote url:
$ git remote -vorigin
origin https://github.com/yacheng1127/YWProject.git (fetch)
origin https://github.com/yacheng1127/YWProject.git (push)
I don't know where is the problem. could somebody help me? thank you
Use ssh key is used when you use the "git://" url for your remote, you can change this (https://help.github.com/articles/changing-a-remote-s-url).
But "https://" should work too (read/write), but it can't use your ssh key nor ssh agent, you should give git your github login and password :
https://help.github.com/articles/set-up-git#password-caching