【Issue(発生した問題)】
The issue happened when I tried to clone program from github.
I entered url of github to the field of original path, and it was confirmed with spinner.
A few seconds later, error message displayed. The detail is next.
(githubのプログラムをクローンしようとしたところ問題が発生しました。クローン元のgithubのURLを入力した際、数秒間のスピナーが回りながら確認が走ったのち、エラー文面が出力されました。エラーの内容は以下の通りです)
------------------------------------
コマンド: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://github.com/XXXX/XXXX
出力:
エラー: remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/XXXX/XXXX'
コマンド: hg identify extensions.hgext.hgsubversion=! https://github.com/XXXX/XXXX
出力:
エラー: abort: HTTP Error 404: Not Found
コマンド: perl.exe C:\Users\Administrator\AppData\Local\SourceTree\app-3.4.9\tools\svn.pl info https://github.com/XXXX/XXXX
出力:
エラー: System.ComponentModel.Win32Exception: 指定されたファイルが見つかりません。
------------------------------------
【Question(質問)】
How can I solve the Issue and clone program?
(どうしたら問題を解消してプログラムをクローンできるでしょうか?)
【What I tried for solution<but failed>(問題解決のために試みた内容)】
・I deleted my github account from sourcetree. And I register my github account with OAuth.
(一度githubアカウントをsourcetreeから削除したのち、OAuthを用いて再登録しました)
・I deleted my github account from sourcetree. And I register my github account with Basic as next url.
https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/
(一度githubアカウントをsourcetreeから削除したのち、URLに記載の方法でBasicを用いて再登録しました)
【Others】
日本語話者ですので、もし可能であれば日本語でのご回答いただけますと幸いです。
ミュニティをご利用いただきありがとうございます。
Cloneするとき、認証問題が発生したようです。
ご認識の通り、https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ により、パスワードの代わりに、personal access tokens を利用する必要があります。
また、もし、personal access tokensを利用しても、改善できない場合、過去のパスワードのキャッシュが存在する可能性があると思います。
How to update HTTP(S) credentials in sourcetree により、「C:\Users\USERNAME\AppData\Local\Atlassian\SourceTree 」下のパスワードファイルを削除してから、SourceTreeを再起動すれば、パスワードキャッシュをクリアすることができます。
宜しくお願いします。
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.