0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

soucetreeでAWSCodecommitの登録がエラーになった時の対応方法

0
Posted at

Sourcetreeエラー対応方法
Q1 クーロンするときのURLを指定→ソースURLとして正しくありません
原因:別のアカウント認証情報が読み込まれている(codecommit)
対策A:他認証情報を適切な設定にする
方法:

  1. 他のcodecommitのURLを使用しているタブ(リポジトリ)へ
  2. 設定>リモート>configファイルを編集
  3. ファイルの一番下に以下を追記→再度元のタブに戻りクーロンを検証
    [credential]
    helper = /usr/local/bin/aws –profile CodeCommitProfile codecommit credential-helper $@
    UseHttpPath = true
    参考URL:https://live-cast.asia/blog/2016/06/sourcetree-with-aws-codecommit.html
    対策B:対策Aでだめな場合、アカウント内の使用していない認証情報を削除し、再度cloneを行う
    方法:
  4. New tabのRemoteから”アカウントを編集”をクリックしアカウント情報の画面へ
  5. ”認証”から不要な認証情報を削除
  6. 再度Cloneを実施※認証情報の入力画面が表示される
  7. 認証情報を削除したら、別タブでfetch,pullができなくなる場合あり
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?