Git push error 'fatal: Cannot find remote assistant for' https'

I added a remote start, for example:

git remote add origin https://github.com/username/repo.git 

When I click on the git repository, I get this error:

 git push -u origin master fatal: Unable to find remote helper for 'https' 

I am on git 1.7.1 on Ubuntu 10.04.4 LTS

Any ideas highly appreciated

+7
source share
5 answers

After much searching the answer you need git version 1.7.7

Unable to update RVM - "deadly": unable to find remote assistant for "http" "

+1
source

If you compiled git from source, install this package first:

apt-get install libcurl4-openssl-dev

+9
source

I had a problem yesterday, and today I decided to solve it, so I will post a message if this can help the Windows user. For me, the problem arose after I upgraded to the latest version of Git (because Visual Studio recommended that I do this - something about things that don't match).

It turns out that I installed the Program Files directory by default, but my old Git was in Program Files (x86). (I did not notice until I tried to reinstall.)

Debugging the new version and installing the 64-bit version of Git for Windows, specified in the "Other" section of Git to boot Windows (which is not the default), superimposed on the version in Program Files (x86). (At first I tried other combinations of versions and folders.)

I had to delete the local repository that was already created and restart it using Git init, Git add., Git commit -m "first commit", Git remote add the start of theGitUrl (all of which worked before), before executing the coordinate origin wizard Git. It’s strange that my username and password appeared in a pop-up window. At first, I did not notice this, and thought that processing on Git push was a hang. So, discuss this version of "Other Git for Windows."

I changed my environmental variables before fixing; I do not know if this helped. I added these 2 to PATH: C: \ Program Files (x86) \ Git \ bin C: \ Program Files (x86) \ Git \ libexec \ git -core I did this for user and system variables.

Note on updating PATH on Windows 10: you need to add one at a time and not include:

+4
source

I worked in a chroot prison and thought I copied everything I needed for git to work, but I lacked the git -core files, so I just had to copy them:

 cp -r /usr/lib/git-core /opt/chroot/myjail/usr/lib/ 
0
source
 Add this to git config: (Checked in centos 6.7 and working) #git config --global url.https://.insteadOf git:// #To see the config added #git config --list url.https://.insteadof=git:// user.name=username user.email=youremail .... 
-2
source

All Articles