0
gitで奇妙な問題に直面しています。 簡単な方法で説明するには、私はgitリポジトリをクローンして、いくつかの変更を加え、追加し、コミットし、プッシュします。 pushコマンド以外はすべてokです。URLが違うのでGitリモートURLはOKですがプッシュすることはできません
git push -u origin master
fatal: http://[email protected]/pathto/cv.git/info/refs not valid: is this a git repository?
なぜ私のURLに/ info/refsがあるのですか? 私はそれを持っていないことを確認するとき。
git remote -v
origin http://[email protected]/pathto/cv.git (fetch)
origin http://[email protected]/pathto/cv.git (push)
または
git config -l | grep remote.origin.url
remote.origin.url=http://[email protected]/pathto/cv.git
あなたの将来の答え