@sinzinse1gou (1号 新人)

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

GIT LABにVSCODEからPUSHを行おうとすると、エラーが出てしまう

RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1) とメッセージが出てきたが、以前は以下のコマンドを入力することで解決できましたが、今回はVSCODEで
GITLABにPUSHすることができないので、教えていただけたら幸いです。

1$git config --global http.version HTTP/1.1を行いPUSHできず

2$git config --global http.postBuffer 157286400を行いPUSHできず

3$git config --global http.version HTTP/1.1
git push
git config --global http.version HTTP/2を行いPUSHできず、
3を行う前に
$git add .
git commit -m "first commit"を行い3を行うと、
fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using
git remote add
and then push using the remote name
git push が表示されました。
この前はPUSHできたのですが、ナゼPUSHできないのかが見当もつきません、教えていただけたら幸いです。

0 likes

1Answer

git hub と同じなのであれば、No configured push destination.とのことからgit上のリモートリポジトリーを指定できていないのではないのでしょうか?
一番最初のpushであれば、git remote add origin <作成したリモートリポジトリーのURL>を使用すればできるかと

0Like

Your answer might help someone💌