0
0

More than 1 year has passed since last update.

bitbucketのレポジトリのコードをbuildしたときにつまづいた

Posted at

エラー内容

	fatal: could not read Username for 'https://bitbucket.org': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.

こちらの記事に書いてある通り、以下のコマンドを走らせたらうまくいった。

git config --global url."git@bitbucket.org:".insteadOf "https://bitbucket.org/"

###

cat ~/.gitconfig
# This is Git's per-user configuration file.
[url "git@bitbucket.org:"]
	insteadOf = https://bitbucket.org/

これでエラーが消えた。ありがたい。

0
0
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
0
0