2016-04-06 11 views
0

昨日私のgithub reposに奇妙な問題が発生し始めました。 Gitはsshを使って設定されており、何ヶ月間も変更が加えられていません。'git remote'は.git/configに設定されているURLと異なるURLを表示します。

$ git remote -v 
origin https://github.com/user/repo.git (fetch) 
origin https://github.com/user/repo.git (push) 

$ cat .git/config 
/-/ 
[remote "origin"] 
    url = [email protected]:user/repo.git 
/-/ 

$ git config remote.origin.url 
[email protected]:user/repo.git 

リモートセットURLを使用して再設定しても、何も変更されません。 bitbucket reposに問題はありません。私が逃したいくつかの変化がありましたか?

+0

githubですべてが設定されているようですね。 –

+0

githubアカウントで関連する設定が見つかりませんでした。 – laur

+0

はまだgithubで作成されたレポですか? –

答えて

0

私のgitconfigには、私が現在取り組んでいるプロジェクトの設定が含まれています。新しいプロパティが導入されました。私は知らなかった:

[url "https://github.com/"] 
    insteadOf = "git://github.com/" 

ケースが閉じられました。

関連する問題