git 错误: Unable to find remote helper for 'https'解决方法
来源:互联网 发布:美国农业数据 美元指数 编辑:程序博客网 时间:2024/06/05 17:26
问题描述
git 错误: Unable to find remote helper for 'https'
今天知道问题的原因了,是因为 /usr/libexec/git-core/ 路径没在 PATH 环境变量中。
我们查看一下:
$ 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。
$ PATH=$PATH:/usr/libexec/git-core
或直接在 /etc/profile 中修改。
0 0
- git 错误: Unable to find remote helper for 'https'解决方法
- git 错误: Unable to find remote helper for 'https'解决方法
- git 错误 fatal: Unable to find remote helper for 'https'
- Git出现fatal: Unable to find remote helper for 'https'
- git clone: fatal: Unable to find remote helper for 'https'
- git fatal: Unable to find remote helper for 'https'
- 解决git的这个错误:fatal: Unable to find remote helper for 'https'
- 解决git的这个错误:fatal: Unable to find remote helper for 'https'
- linux rhel6.2 解决 git 使用错误:fatal: Unable to find remote helper for 'https'
- git clone templates not found / Unable to find remote helper for 'https' 错误
- fatal: Unable to find remote helper for 'https'
- fatal: Unable to find remote helper for 'https'
- 纠错: git push error “fatal: Unable to find remote helper for 'https'"
- 记一次git fatal: Unable to find remote helper for 'https'问题的解决
- fatal: Unable to find remote helper for 'https' (git push -u origin master)(Red Hat /centos6.7)
- repo下载android出现fatal: Unable to find remote helper for 'https'问题的方法
- 【物联网】OpenWrt编译出现Unable to find remote helper for 'https'问题
- Sublime: Unable to find git.exe错误
- 颜色矩
- leetcode——205——Isomorphic Strings
- java获取指定文件夹下的项目名称(.war格式)
- ZooKeeper相关要点
- Codeforces 652B z-sort 【思维】
- git 错误: Unable to find remote helper for 'https'解决方法
- Eclipse连接Oracle数据库介绍
- [leetcode] 50. Pow(x, n)
- 关于app预防二次打包
- 详解Xcode 7的视图调试
- Android直接可以使用的AES加密帮助类
- mysqlbinlog: Character set '#45' is not a compiled character set and is not specified in the '/usr/s
- Codeforces 658A Bear and Reverse Radewoosh
- http://imysql.cn/tag/pxc