During download of depot_tools of chromium browser using git in linux, we may get the following error
-------------------------------------------------------------------------------------------------------------------------
root@aphone-ubuntu:~/chromium_src# git clone https://git.chromium.org/chromium/tools/depot_tools.git
Initialized empty Git repository in /root/Chromium_Src/depot_tools/.git/
error: Couldn't resolve host 'git.chromium.org' while accessing https://git.chromium.org/chromium/tools/depot_tools.git/info/refs
fatal: HTTP request failed
--------------------------------------------------------------------------------------------------------------------------
this error may occur due to http proxy or firewall behind which we are trying to use git. Try setting the global htty proxy config for git. It worked for me.
git config --global http.proxy http://proxy:8080// To check the proxy settingsgit config --get http.proxy
After setting the above try #git clone "url" .
No comments:
Post a Comment