エラー:一部の参照を '[email protected]:xxxxxxxxxx_springboot.git'にプッシュできませんでした

ここに画像の説明を挿入

$ git push origin master
Counting objects: 556, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (507/507), done.
Writing objects: 100% (556/556), 317.62 KiB | 0 bytes/s, done.
Total 556 (delta 162), reused 0 (delta 0)
remote: Resolving deltas: 100% (162/162), done.
remote: GitLab:
remote: A default branch (e.g. master) does not yet exist for XXXXX/XXXXXup_back                                      end_springboot
remote: Ask a project Owner or Maintainer to create a default branch:
remote:
remote:   https://gitlab.com/XXXXX/XXXXXup_backend_springboot/-/project_members
remote:
To gitlab.com:XXXXX/XXXXXup_backend_springboot.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:XXXXX/XXXXXup_backend_springb                                      oot.git'

Administrator@MF7CBBLS2VHKYU5 MINGW64 /g/01XXXXXXXXXX/02job_code/XXXXXup_backend                                      _springboot (master)
$

次のコマンドを実行します。

git push originマスター

上の図に示されているエラーの後、
 
 
解決策は次のとおりです。

最初にサーバー上のコードをプルバックし、次にサイズを設定します

git config --global http.postBuffer 524288000
コミットバッファーサイズを500Mに変更

475のオリジナル記事を公開 16のような 30,000以上の訪問

おすすめ

転載: blog.csdn.net/qq_32370913/article/details/105555468