リモートリポジトリへのプッシュ時エラー

Taichi Takano
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 18, 2020

Sourcetreeのローカルリポジトリでコミット後、bitbucketのリモートリポジトリへプッシュすると下記のメッセージが表示されます。

 

git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream private_diary refs/heads/master:refs/heads/master

Pushing to git clone https://XXX@bitbucket.org/YYY/ZZZ.git

fatal: protocol 'git clone https' is not supported

Completed with errors, see above

 

git clone httpsがサポートされないというメッセージが表示されてしまうのですが、どのように対処すれば解決できるか教えていただけると幸いです。

よろしくお願いいたします

 

1 answer

1 accepted

0 votes
Answer accepted
Lenin Raj
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 18, 2020

The error says you cannot use 'https' protocol.

One alternative is to switch to 'SSH' protocol. Can you try the steps mentioned in https://linuxize.com/post/how-to-change-git-remote-url/?

Taichi Takano
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 18, 2020

Dear Lenin

After changing the protocol with reference to the website you pointed out, it was solved successfully

Thank you

Like Lenin Raj likes this
Lenin Raj
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 18, 2020

Glad you got it sorted.

Like Taichi Takano likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events