iT邦幫忙

0

<以解決>問使用git push到github 錯誤:Connection to github.com closed by remote host.<有使用LFS>

https://ithelp.ithome.com.tw/upload/images/20190107/20110028f7zGQMfDHX.png
求解,我照網路上的教學做了 也沒顯示錯誤 結果去帳戶那邊,也無PUSH的檔案

這是因為使用ssh所造成的,如果對ssh沒需求可以直接用http

若是圖片不清楚:

D:\AILineBot>git commit -m "提交.a大文件"
[master 129da70] 提交.a大文件
4 files changed, 3 insertions(+), 1 deletion(-)
rewrite Sword2vec/word2vec.model (99%)
rewrite Sword2vec/word2vec.model.trainables.syn1neg.npy (99%)
rewrite Sword2vec/word2vec.model.wv.vectors.npy (99%)

D:\AILineBot>git add .

D:\AILineBot>git commit -m "提交.a大文件"
On branch master
nothing to commit, working tree clean

D:\AILineBot>git push -u origin master
Git LFS: (1 of 3 files) 326.49 MB / 1.56 GB Connection to github.com closed by remote host.
Git LFS: (3 of 3 files) 1.56 GB / 1.56 GB

D:\AILineBot>git remote -v
origin git@github.com:abc225313/AILineBot.git (fetch)
origin git@github.com:abc225313/AILineBot.git (push)

e6319a5b iT邦新手 4 級 ‧ 2019-01-07 11:38:26 檢舉
這是因為使用ssh所造成的,如果對ssh沒需求可以直接用http
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答