私はビットバケットで私のgit repoにプッシュできません。 私のURLが正しく設定されています。私はアカウントにsshキーを持っており、アクセス権は問題ありません。致命的:リモートリポジトリから読み取れませんでした。静的マシンログインのため
私はssh -vvv [email protected]
を実行したときに、私は次の出力を持っている:
debug2: channel 0: input open -> closed
debug3: channel 0: will not send data after close
logged in as servandoavila1.
You can use git or hg to connect to Bitbucket. Shell access is disabled.
debug3: channel 0: will not send data after close
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output drain -> closed
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug3: send packet: type 97
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
#0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)
debug3: send packet: type 1
Connection to bitbucket.com closed.
Transferred: sent 3508, received 1836 bytes, in 0.2 seconds
Bytes per second: sent 22807.7, received 11937.0
debug1: Exit status 0
その後
[email protected]:~/projects/foodtruck-remake$ git push
repository access denied.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
私がまだマシン上で私の友人、servandoavila1
としてログインしていそうです。しかし、私は最近gitのグローバルuser.email
/user.name
を修正しました。このレポをどのようにプッシュできますか?ありがとうございます
がエラーを参照するのではなく、ユーザー名を使用するように更新します。あなたはbitbucketにsshすることはできません。 Yuoはgitを使うことができます。 'git push ...'を試してみるとどういうエラーですか? –
良い点、おい... – codyc4321