LoginSignup
2
2

More than 3 years have passed since last update.

【git】SourceTreeでリモートリポジトリがクローン出来ない【SourceTree】

Posted at

経緯

リモートリポジトリを新規でクローンしようとしたところ、下記のようなエラーが発生してクローンすることが出来なかった。

エラー: remote: Forbidden
fatal: unable to access 'https://username@bitbucket.org/hogehoge/hoge.git/'
: The requested URL returned error: 403

試したこと

git cloneコマンドを実行
結果:同様のエラーが発生した
パスワード入力を求められるようなこともナシ

解決方法

ユーザー名の後にパスワードを指定する→無事クローン出来た

'https://username:password@bitbucket.org/hogehoge/hoge.git/'
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2