簡體   English   中英

Git 存儲庫未顯示在 GitHub 中

[英]Git repository is not showing in GitHub

I am new in using GitHub, I am trying to Upload a Django Project on GitHub from Git Bash BUT when i push it on GitHub then it is not showing in Browser.

問題

Git 存儲庫未在瀏覽器中上傳或顯示。

文件夾大小

35.4 MB

我試過什么

  • git 初始化

    --- Output :- 在 C:/doingstatic/myproject/.git/ 中初始化空 Git 存儲庫

  • git 添加。

--- Output :-

The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in static/js/cropper.min.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in static/js/jquery-3.1.1.min.js.
The file will have its original line endings in your working directory

AND MANY MORE LINES.
  • git commit -m "第一次提交"

    --- Output :- 文件夾中的所有文件。

  • git 遠程添加原點https://github.com/progam/rr.git

  • git 推源主機

    --- Output :- 詢問Git登錄,並在SSH詢問Login后再次詢問。

接着:-

Logon failed, use ctrl+c to cancel basic credential prompt.
Enumerating objects: 541, done.
Counting objects: 100% (541/541), done.
Delta compression using up to 8 threads
Compressing objects: 100% (530/530), done.
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
fatal: the remote end hung up unexpectedly
Writing objects: 100% (541/541), 54.35 MiB | 989.00 KiB/s, done.
Total 541 (delta 115), reused 0 (delta 0), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date

然后我在GitHub上檢查它什么都沒有出現。

我不知道問題出在哪里。

任何幫助,將不勝感激

先感謝您

您需要增加緩沖區大小(這是由於存儲庫大小較大),因此您必須增加它。

git config http.postBuffer 524288000

因此,通過上述操作(在 git bash 上),git 緩沖區大小將增加。

編輯:當您在沒有網絡連接或網絡連接不良的情況下第一次推送時可能會發生這種情況。 但是,當您再次嘗試使用良好的連接 2,3 次時,問題將得到解決。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM