<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>suusanex</author_name>
  <author_url>https://blog.hatena.ne.jp/suusanex/</author_url>
  <blog_title>新しもの好きプログラマの耳より情報ブログ</blog_title>
  <blog_url>https://suusanex.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>概要 GitHubのリポジトリへSourceTreeからアクセスする場合に、OAuthだと操作の度にアカウント選択画面が出て不便です。そのためPATを発行して認証しようとしたのですが、SourceTree(Windows)でPATを入れても認証失敗してしまい、なかなか上手く行きません。けっきょく、個人ユーザーの認証とOrganizationの認証それぞれで別の解決方法が必要になりました。それを紹介します。ちなみにPAT以外でも解決できたのでそれも補足します。 最初に結論まとめ 個人ユーザーのリポジトリ PAT発行時に、Account permissionsのEmail-AddressのRead…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuusanex.hatenablog.jp%2Fentry%2F2025%2F05%2F02%2F095817&quot; title=&quot;GitHubでSourceTreeのPAT認証が失敗する問題の解決方法（個人とOrganizationそれぞれ） - 新しもの好きプログラマの耳より情報ブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3616143/ed6aee74-2da2-43f3-af13-17682811a416.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-05-02 09:58:17</published>
  <title>GitHubでSourceTreeのPAT認証が失敗する問題の解決方法（個人とOrganizationそれぞれ）</title>
  <type>rich</type>
  <url>https://suusanex.hatenablog.jp/entry/2025/05/02/095817</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
