Git error: Unable to find remote helper for ' https '

Source: Internet
Author: User
Tags diff unpack using git

This question was previously mentioned in the "compiling OpenWrt process" blog post. Currently not completely resolved, but simply to all the URLs in the HTTP, HTTPS changed to Git.

Today we know the cause of the problem because the/usr/libexec/git-core/path is not in the PATH environment variable.

Let's take a look:

$ 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

This leads to the Git-remote-https inside, git-remote-http these are not executed. So git does not show the full functionality.

The workaround is to include/usr/libexec/git-core in path, at least before using Git, to set the path.

$ path= $PATH:/usr/libexec/git-core

or modify it directly in the/etc/profile.

Git error: Unable to find remote helper for ' https '

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.