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 1 year has passed since last update.

Github enterpriseでOcta認証等SSO設定されているリポジトリにsourcetreeからアクセス

Last updated at Posted at 2023-11-14

会社のgitがOctaなどでSSO設定されている人向け

  1. PAT(personal access token)作成

  2. 右上の歯車アイコン>リモート>

  3. https://@github.com/hoge.git を設定
    image.png

  4. ツール>オプション>認証 でアカウント追加されていることを確認
    image.png

  5. pull

6.エラーメッセージがでる

remote: To access this repository, visit https://github.com/enterprises/xxx-emu/sso?authorization_request=xyz and try your request again.
fatal: unable to access 'https://github.com/xxx/hoge.git/': The requested URL returned error: 403
  1. 指定されたURLにパラメータ付でアクセスすると使えるようになる

クローンするには
image.png

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?