Two-Factor Authentication (2FA) with GitHub in SourceTree
For versions earlier than SourceTree 2.4 for Mac and SourceTree 1.10 for Windows.
目的
GitHub allows accounts to be configured to use two-factor authentication (2FA). SourceTree can work with GitHub's Two-Factor Authentication model.
ソリューション
To work with GitHub's two-factor authentication in SourceTree you can simply use your access token instead of your password. The steps to do this are as follows:
- Go to your Personal Access Tokens settings in GitHub.
- Click on the Generate new token button.
- Name the token something descriptive.
- Select which scopes you wish to grant this token.
- Click the Generate token button.
- Copy the token and use it as a password in your hosted repositories.
You can find more information about this on GitHub's help here.
最終更新日: 2017 年 1 月 18 日
Powered by Confluence and Scroll Viewport.