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

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > windows >内容正文

windows

Windows10避开注册的方式安装sourceTree,Failed to connect to github.com port 443: Timed out问题解决

發布時間:2024/9/27 windows 42 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Windows10避开注册的方式安装sourceTree,Failed to connect to github.com port 443: Timed out问题解决 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1.1.Windows10避開注冊的方式下安裝sourceTree

1.1.1.第一步

下載SourceTree,下載地址:https://product-downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-3.1.3.exe

若上面的地址無效了,可以訪問:鏈接: https://pan.baidu.com/s/1MIqyqEdm77ZGOGn19ZrFkw 提取碼: 6d56

1.1.2.第二步

接下來就是安裝了SourceTree了。
點擊”SourceTreeSetup-3.1.3.exe”,然后會提示注冊一個賬號。此時,關閉此安裝過程,然后在地址欄上輸入以下路徑:

%LocalAppData%\Atlassian\SourceTree\

如果下所示

然后再在里面創建一個accounts.json文件,內容如下:

[{"$id": "1","$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity","Authenticate": true,"HostInstance": {"$id": "2","$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount","Host": {"$id": "3","$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount","Id": "atlassian account"},"BaseUrl": "https://id.atlassian.com/"},"Credentials": {"$id": "4","$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account","Username": "","Email": null},"IsDefault": false} ]

進入AppData\Local\Atlassian\SourceTree的上一層,分別配置:

SourceTree.exe_Url_5yoa13qlgvkvzlqygk4igfht1zisrb4w\3.1.3.3158\user.config

在 <SourceTree.Properties.Settings> 的里面增加:

<setting name="AgreedToEULA" serializeAs="String"> <value>True</value> </setting> <setting name="AgreedToEULAVersion" serializeAs="String"><value>20160201</value> </setting>

SourceTree.exe_Url_gndlaoeh2iwzbvhp3dmwn4vu2enmze4e
在 <SourceTree.Properties.Settings> 的里面增加:

<setting name="AgreedToEULA" serializeAs="String"> <value>True</value> </setting> <setting name="AgreedToEULAVersion" serializeAs="String"><value>20160201</value> </setting>

然后再點擊”SourceTreeSetup-3.1.3.exe”進行安裝。接著會進入以下過程:

最終安裝成功

1.1.3 修改sourceTree中的高級配置


點擊其中的編輯,編輯內容如下:

.project .classpath .settings/ target/ logs/ output/ .factorypath.idea *.iml

1.1.4 Failed to connect to github.com port 443: Timed out問題解決

fatal: unable to access ‘https://github.com/xxxxx/xxxx.git/’: Failed to connect to github.com port 443: Timed out
今天使用git push的時候提示"fatal: unable to access ‘https://github.com/xxxxx/xxxx.git/’: Failed to connect to github.com port 443: Timed out"

然后我輸入了下面的這些命令:

git config --global http.proxy

查詢到當前設置了代理,所以我取消這個設置:

git config --global --unset http.proxy

再查詢,已經沒有了代理,然后再push,成功了!

然后就可以繼續push了。

總結

以上是生活随笔為你收集整理的Windows10避开注册的方式安装sourceTree,Failed to connect to github.com port 443: Timed out问题解决的全部內容,希望文章能夠幫你解決所遇到的問題。

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