日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

【物联网】OpenWrt编译出现Unable to find remote helper for 'https'问题

發布時間:2024/4/21 编程问答 41 豆豆
生活随笔 收集整理的這篇文章主要介紹了 【物联网】OpenWrt编译出现Unable to find remote helper for 'https'问题 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.


搞了一天了,編譯的時候,總是出現?fatal:?Unable?to?find?remote?helper?for?'https'這樣的錯誤。今天終于解決了。

今天知道問題的原因了,是因為/usr/local/libexec/git-core路徑沒在 PATH 環境變量中。

deng@cecport:/usr/local/libexec/git-core$ pwd /usr/local/libexec/git-core deng@cecport:/usr/local/libexec/git-core$ ls git git-count-objects git-gui git-merge-subtree git-remote git-sh-setup git-add git-credential git-gui--askpass git-mergetool git-remote-ext git-stage git-add--interactive git-credential-cache git-hash-object git-mergetool--lib git-remote-fd git-stash git-am git-credential-cache--daemon git-help git-merge-tree git-remote-ftp git-status git-annotate git-credential-store git-http-backend git-mktag git-remote-ftps git-stripspace git-apply git-cvsexportcommit git-http-fetch git-mktree git-remote-http git-submodule git-archimport git-cvsimport git-http-push git-mv git-remote-https git-submodule--helper git-archive git-cvsserver git-imap-send git-name-rev git-remote-testpy git-svn git-bisect git-daemon git-index-pack git-notes git-remote-testsvn git-symbolic-ref git-bisect--helper git-describe git-init git-p4 git-repack git-tag git-blame git-diff git-init-db git-pack-objects git-replace git-tar-tree git-branch git-diff-files git-instaweb git-pack-redundant git-repo-config git-unpack-file git-bundle git-diff-index git-interpret-trailers git-pack-refs git-request-pull git-unpack-objects git-cat-file git-difftool git-log git-parse-remote git-rerere git-update-index git-check-attr git-difftool--helper git-lost-found git-patch-id git-reset git-update-ref git-check-ignore git-diff-tree git-ls-files git-peek-remote git-revert git-update-server-info git-check-mailmap git-fast-export git-ls-remote git-prune git-rev-list git-upload-archive git-checkout git-fast-import git-ls-tree git-prune-packed git-rev-parse git-upload-pack git-checkout-index git-fetch git-mailinfo git-pull git-rm git-var git-check-ref-format git-fetch-pack git-mailsplit git-push git-send-email git-verify-commit git-cherry git-filter-branch git-merge git-quiltimport git-send-pack git-verify-pack git-cherry-pick git-fmt-merge-msg git-merge-base git-read-tree git-shell git-verify-tag git-citool git-for-each-ref git-merge-file git-rebase git-sh-i18n git-web--browse git-clean git-format-patch git-merge-index git-rebase--am git-sh-i18n--envsubst git-whatchanged git-clone git-fsck git-merge-octopus git-rebase--interactive git-shortlog git-worktree git-column git-fsck-objects git-merge-one-file git-rebase--merge git-show git-write-tree git-commit git-gc git-merge-ours git-receive-pack git-show-branch mergetools git-commit-tree git-get-tar-commit-id git-merge-recursive git-reflog git-show-index git-config git-grep git-merge-resolve git-relink git-show-ref deng@cecport:/usr/local/libexec/git-core$

這導致里面的 git-remote-https, git-remote-http 這些得不到執行。所以 git 所表現出來的功能不全。

解決辦法是:將 /usr/local/libexec/git-core 納入 PATH,至少在使用 git 之前,設置一下PATH。

deng@cecport:/usr/local/libexec/git-core$?vim?~/.bashrc 最后一行添加如下: export?PATH=/usr/local/libexec/git-core:$PATH
重啟或者重新登錄即可是環境變量生效

總結

以上是生活随笔為你收集整理的【物联网】OpenWrt编译出现Unable to find remote helper for 'https'问题的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。