git clone failed. Could not read from remote repository
問題:
在使用git克隆gitee或者github上面的專案時,能夠連線上卻無法下載下來!
解決:
1、在本地開啟git bash 執行
檢查是否有設定賬戶名
git config user.name
如果沒有,設定賬戶名
git config --global user.name "git賬戶名"
生成ssh公鑰和私鑰,直接enter就可以,注意記下位置(找到id_rsa.pub檔案)
ssh-keygen -t rsa -C "git賬戶名"
2、開啟gitee,進入設定--->ssh公鑰(github也是一樣的操作 settngs--->SSH and GPG keys)
建立公鑰,將id_rsa.pub檔案內容填入
而後就可以clone自己需要的專案!
相關推薦
git clone failed. Could not read from remote repository
問題: 在使用git克隆gitee或者github上面的專案時,能夠連線上卻無法下載下來! 解決: 1、在本地開啟git bash 執行 檢查是否有設定賬戶名
windows下Idea使用git clone failed. Could not read from remote repository
剛入職新公司,等了好幾天,今天公司給發了新電腦,就要開始進行開發環境的安裝了。 在軟體(JDK,GIT,IDEA,MYSQL,Navicate。。。等等)都安裝完成後,就開始專案的下載。 下載專案: 在使用IDEA下載的過程中就發現了新的問題---根據gitlab中專案的
IDEA中git出現的 Could not read from remote repository
最近用IDEA上的git功能出現了可以commit但無法push和pull的問題,測試發現原因是Could not read from remote repository,在Stack Overflow上發現瞭解決方法。 在Settings->Versi
fatal: Authentication failed could not read from remote repository
Git 無法clone、pull、fetch 異常: fatal: could not read from remote repository fatal: Authentication failed for 'http://git.example.com/
解決IntelliJ IDEA中git出現的 Could not read from remote repository問題
最近用IDEA上的git功能出現了可以commit但無法push和pull的問題,測試發現原因是Could not read from remote repository,在Stack Overflow上發現瞭解決方法。 在Settings->Versi
00 git clone 提示Permission denied (publickey). fatal: Could not read from remote repository.
執行git clone命令為:git clone xxxxx的時候提示 Permissiondenied (publickey). fatal:Could not read from remote repository. Pleasemake sure you have
git clone報錯 "Could not read from remote repository..Please make sure you have the correct access
1.下載git,使用命令: yum install git 2.配置git: 1 git config --global user.name "Your Name" 2 git config --global user.email "[email protected]"
Git push Access denied exec request failed on channel 0 fatal: Could not read from remote repository
Git push 和pull時沒有許可權首先去碼雲/git下 檢視是不新增 公鑰 如果沒有,把開發環境中的.ssh/id_pub進行貼上 至 碼雲那邊的git公鑰,再重新pull即可其次可以去專案中的 .Git資料夾下 config下 進行檢視url是否和遠端倉庫的的url一
git: fatal: Could not read from remote repository
nag fatal choose native tell ack arch manage fat This is probably an Intellij problem. Your key are managed natively by ssh, and Intellij
git "Could not read from remote repository.Please make sure you have the correct access rights."解決方案
tpc 覆蓋 com 設置 _id pub ould ack ref 我們在使用git clone 或其他命令的時候,有時候會遇到這類問題,如圖: fatal: Could not read from remote repository. Please make s
git提示錯誤關於錯誤:ssh: Could not resolve hostname github.com: Name or service not known.fatal: Could not read from remote repository.
eight 無法讀取 主機名 github上 錯誤2 winsock nal file drive 關於 Git 使用中出現的錯誤 饑人谷_楠柒 關註 2016.11.02 15:33* 字數 746 閱讀 3607評論 5喜歡 10贊賞 1 關
git Permission denied (publickey). fatal: Could not read from remote repository.
問題描述: 最近剛剛學爬蟲,從學長的git上clone到伺服器的時候 出現的這個問題,問題不大吧,估計以後還會遇到。 問題很簡單,就是沒有祕鑰,顯然github不知道你是誰,然後禁止你拉取程式碼。 原理:本地生成祕鑰,然後新增到GitHub裡面 DONE 解決方法: 1.本地生成祕鑰:
git常見的一些錯誤:fatal: Could not read from remote repository. fatal: Not a git repository (or any of the
錯誤一:fatal: Not a git repository (or any of the parent directories): .git 此錯誤是因為你當前所在的資料夾還沒有git成本地倉庫,確保你是在作為本地倉庫的資料夾下,然後使用:git init 錯誤二:
git push時報錯fatal: Could not read from remote repository.
將本地庫的所有內容推送到遠端庫,輸入命令: git bash報錯: 輸入命令: git bash 輸出: 對比github 兩處地址不一樣。 解決方法: 輸入以下兩個命令列: $ git remote set-url origin ht
[git] Could not read from remote repository
idea更新程式碼發現 !!!一般出現該問題是沒有許可權 為了檢視更多資訊,使用git bash 然後git pull Cloning into 'your_program'... @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
git "Could not read from remote repository.Please make sure you have the correct access rights."解決方案
我們在使用git clone 或其他命令的時候,有時候會遇到這類問題,如圖: fatal: Could not read from remote repository. Please make sure you have the correct access rig
git pull時報錯fatal: Could not read from remote repository.
git pull 時 報錯如下資訊:ssh: Could not resolve hostname https: nodename nor servname provided, or not know
Push failed: Failed with error: fatal: Could not read from remote repository.
在碼雲賬號上把專案轉移到組織後報的異常Push failed: Failed with error: fatal: Could not read from remote repository或者異常fatal: remote origin already exists以上都市
Push failed. Failed with error: fatal: Could not read from remote repository.
在往github 倉庫提交的時候出現以下錯誤。 Failed with error: fatal: Could not read from remote repository. 此原因是因為ssh公鑰有問題,因為之前電腦是以前的同事用著,我直接就改為自己的賬號
Git"Could not read from remote repository.Please make sure you have the correct access rights."解決方案
我們在使用Git clone 或其他命令的時候,有時候會遇到這類問題,如圖: fatal: Could not read from remote repository. Please make sure you have the correct access ri