git 错误: Unable to find remote helper for 'https'
http://www.cnblogs.com/wowarsenal/p/4319002.html
./configure配置
http://blog.csdn.net/lgstudyvc/article/details/47803579
这个问题之前在 《编译OpenWrt过程》 博文里提到过。当前没有彻底地解决,只是简单地将所有的URL中的 http, https 改成了 git。
今天知道问题的原因了,是因为 /usr/libexec/git-core/ 路径没在 PATH 环境变量中。
我们查看一下:
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
$ ls /usr/libexec/git-core/git git-http-backend git-receive-packgit-add git-http-fetch git-refloggit-add--interactive git-http-push git-relinkgit-am git-imap-send git-remotegit-annotate git-index-pack git-remote-ftpgit-apply git-init git-remote-ftpsgit-archive git-init-db git-remote-httpgit-bisect git-instaweb git-remote-httpsgit-bisect--helper git-log git-repackgit-blame git-lost-found git-replacegit-branch git-ls-files git-repo-configgit-bundle git-ls-remote git-request-pullgit-cat-file git-ls-tree git-rereregit-check-attr git-mailinfo git-resetgit-checkout git-mailsplit git-revertgit-checkout-index git-merge git-rev-listgit-check-ref-format git-merge-base git-rev-parsegit-cherry git-merge-file git-rmgit-cherry-pick git-merge-index git-send-packgit-clean git-merge-octopus git-shellgit-clone git-merge-one-file git-shortloggit-commit git-merge-ours git-showgit-commit-tree git-merge-recursive git-show-branchgit-config git-merge-resolve git-show-indexgit-count-objects git-merge-subtree git-show-refgit-describe git-mergetool git-sh-setupgit-diff git-mergetool--lib git-stagegit-diff-files git-merge-tree git-stashgit-diff-index git-mktag git-statusgit-difftool git-mktree git-stripspacegit-difftool--helper git-mv git-submodulegit-diff-tree git-name-rev git-symbolic-refgit-fast-export git-notes git-taggit-fast-import git-pack-objects git-tar-treegit-fetch git-pack-redundant git-unpack-filegit-fetch-pack git-pack-refs git-unpack-objectsgit-filter-branch git-parse-remote git-update-indexgit-fmt-merge-msg git-patch-id git-update-refgit-for-each-ref git-peek-remote git-update-server-infogit-format-patch git-prune git-upload-archivegit-fsck git-prune-packed git-upload-packgit-fsck-objects git-pull git-vargit-gc git-push git-verify-packgit-get-tar-commit-id git-quiltimport git-verify-taggit-grep git-read-tree git-web--browsegit-hash-object git-rebase git-whatchangedgit-help git-rebase--interactive git-write-tree |
这导致里面的 git-remote-https, git-remote-http 这些得不到执行。所以 git 所表现出来的功能不全。
解决办法是:将 /usr/libexec/git-core 纳入 PATH,至少在使用 git 之前,设置一下PATH。
|
1
|
$ PATH=$PATH:/usr/libexec/git-core |
或直接在 /etc/profile 中修改。
http://blog.csdn.net/chidy/article/details/7694728
git fatal,unable to find remote helper for ‘https’
在Linux下push的时候出现的问题,整了半天不行,新版本也不行,决定直接ssh提交,生成ssh公钥和私要,将公钥在github.com上加以下就可一了,网上有很多文章。然后直接push,但地址要用ssh那个(就是git@github.com:xxxx/xxx)
http://www.cnblogs.com/dangerman/archive/2012/12/27/2835319.html
http://blog.csdn.net/jingxia2008/article/details/49907955
1. 临时替代方案
(1) git clone --recursive git://github.com/ceph/ceph.git
(2) 然后运行下述命令(把https,用git替换):
git clone git://github.com/ARM-software/arm-trusted-firmware.git
2. 外国友人建议的方案
It looks like not having (lib)curl-devel installed when you install git can cause this.
解决方案:
$ yum install curl-devel
$ # cd to wherever the source for git is
$ cd /home/lion/git-source-code
$ ./configure
$ make
$ make install
http://luleimi.blog.163.com/blog/static/17521964520142662017893/
浙公网安备 33010602011771号