我是新的git。我想使用bitbucket.org。我已經在bitbucket和android studio中設置了各種各樣的東西。現在,當我試圖通過輸入此命令來推送我的項目git push -u origin master
它向我顯示此消息fatal: Unable to look up bitbucket.org (port tushar_shah) (The specified class was not found.)
我該如何解決這個問題?我在谷歌搜索了這個。但找不到有用的東西。致命:無法查找bitbucket.org
0
A
回答
0
檢查你的資料庫網址
git remote -v
講究的語法在URL中使用的「端口」(看來你已經用你的用戶名作爲端口值),其結果可能是類似
https://my-server:1234/repos/my-project.git
通常存儲庫提供程序使用默認端口,在這種情況下,您不需要指定端口。
更改URL
git remote set-url origin https://my-server/repos/my-project.git
在你的情況
git remote set-url origin git://bitbucket.org/converter.git
有關git的協議和URL的詳細信息,請參閱https://git-scm.com/book/ch4-1.html
+0
工作。但需要從http://stackoverflow.com/questions/10333836/git-clone-cant-resolve-proxy獲得一些幫助。謝謝 –
0
這是我必須做的步驟:
git remote set-url origin https://bitbucket.org/tushar_shah/*****.git
git config --global --unset http.proxy
之後,它工作正常。
相關問題
- 1. 致命的:無法找到的「http」
- 2. 查找命令無法找到變量
- 3. 致命錯誤:無法在/
- 4. Mingw + msys2:無法連接到bitbucket.org:網絡無法訪問
- 5. 無法連接到bitbucket.org端口443:網絡無法訪問
- 6. 在bitbucket.org
- 7. TASM無法找到.asm文件錯誤:**致命**命令行:無法找到文件:filename.asm
- 8. 查找命令不一致的輸出,通配符無法正常工作
- 9. 的Git分支-d <BRANCH>:致命的 - 無法查找犯對象HEAD
- 10. Qsub導致腳本無法正常工作:「未找到命令」
- 11. 從php執行AWS CLI命令導致無法找到憑據
- 12. Git 1.7.11 Debian致命:無法找到'https'的遠程幫助器
- 13. 無法修復PHP致命錯誤:未找到Class'MongoPool'
- 14. mysql_install_db的給出了致命錯誤:無法找到我的,default.cnf
- 15. 致命錯誤:無法找到核心文件。 CakePHP
- 16. 致命:無法啓動中找到!系統暫停
- 17. 」致命錯誤:無法找到本地咕嚕聲。「在Windows 7
- 18. 發生致命錯誤:已知並且無法找出它
- 19. npm ERR!致命:無法找到'https'的遠程助手
- 20. 無法查看findBySql導致
- 21. 無法找到命令append_branch
- 22. 無法找到命令:: org.apache.cordova.facebook.Connect
- 23. 命令無法找到
- 24. 的ssh:連接到主機bitbucket.org端口22:連接超時致命
- 25. 查找命令語法
- 26. Unix「查找」命令用法
- 27. Splunk無法查找
- 28. 」致命錯誤:無法找到本地咕嚕聲。「當運行「grunt」命令
- 29. Bitbucket.org&Git擴展
- 30. 致命錯誤sqlsvr_fetch_array()。無法從查詢中獲取數組
可能重複的[無法查找https推送到git存儲庫時致命錯誤](http://stackoverflow.com/questions/24469248/unable-to-look-up-https-fatal-error-when-push -to-git-repository) – CinCout