2016-04-18 1 views
1

私はbitbucketのレポに取り組んでいます。私は自分のプロジェクトを他のラップトップにクローンしました(私のアカウントには2つのsshキーがあります)。そして、2番目のsshキーを追加したので、最初のラップトップから自分のコミットを見ることができません。なぜ私のbitbucketがコミットを見ることができないのですか?

私は

git push feature feature/353 

を行うときに、私は次のエラーを取得する:あなたがfeatureにあなたのリモートリポジトリの名前を変更した場合を除き

fatal: 'feature' does not appear to be a git repository fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

答えて

2

構文は

git push <repository> <refspec> 

で、それは可能性がありますoriginと呼ばれます。リモートリポジトリ名はgit remoteを確認してください。 featurefeature/353とプッシュした方がよいでしょう。詳細については、

git push origin feature:feature/353 

git push --helpman git-pushをチェック:あなたはそのためのコロンを使用する必要があります。

関連する問題