Unable to find remote helper for 'http'

2,003 views
Skip to first unread message

Chui Tey

unread,
Nov 28, 2011, 12:12:35 AM11/28/11
to msysGit
I'm running a git server behind Apache, configured using virtualmin.
(http not https)

My configuration reads like this:

user.name=Chui Tey
user.email=te...@EXAMPLE.com
diff.tool=default-difftool
difftool.cmd=vimdiff
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.ignorecase=true
core.filemode=false
remote.upload.url=http://te...@EXAMPLE.com/git/innovation.git/
gui.wmstate=zoomed
gui.geometry=443x321+25+25 316 361
filemode.ignore=false

$ git --version
git version 1.7.7.1.msysgit.0

Executing push from GitGui succeeds. While doing the same from the
command line I get the following.

$ git push upload
fatal: Unable to find remote helper for 'http'

One of the stranger thing I saw though is the Git Gui prompts me for a
password in the OpenSSH dialog. However, I was only using plain http.
What is going on here? (I'm new to configuring git servers)

Thanks.

Pat Thoyts

unread,
Nov 28, 2011, 9:39:43 AM11/28/11
to Chui Tey, msysGit

You probably need to install 'curl' as git uses curl for http
transport. If git-gui is prompting you for an ssh password, for some
reason it is using ssh. You can review the actual git commands it
generates by running it as 'git gui --trace' and it will then print
the git commands to stderr (on Windows using cmd prompt, you can show
the Tk console to see this by entering Ctrl-F2).

Chui Tey

unread,
Nov 28, 2011, 3:34:42 PM11/28/11
to msysGit
1) Commandline
================

But I just noted that maybe I've hosed my installation
$ git gui
fatal: Uh oh. Your system reports no Git commands at all.

$ which git
/BIN/git

Resolution
============

I had a C:\BIN where I kept my binaries, and it was in the search path
ahead of /bin that msys installs.
/bin/git gui
resolves the issue.

Thanks.

Reply all
Reply to author
Forward
0 new messages