development:vcs:git:github
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン | |||
| development:vcs:git:github [2024/11/14 10:44] – 削除 - 外部編集 (不明な日付) 127.0.0.1 | development:vcs:git:github [2024/11/14 10:44] (現在) – ↷ development:git:github から development:vcs:git:github へページを移動しました。 admin | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| + | ====== GitHub ====== | ||
| + | |||
| + | ===== mfa(2要素認証)している場合のコマンドラインからのアクセス ===== | ||
| + | |||
| + | mfa(2要素認証)だと、コマンドラインやSourceTreeなどで | ||
| + | |||
| + | remote: Invalid username or password. | ||
| + | fatal: Authentication failed for | ||
| + | |||
| + | などと表示されてアクセスできない。 | ||
| + | |||
| + | で、解決策は | ||
| + | - sshでアクセスする | ||
| + | * 公開鍵をGitHubに登録して、sshでアクセスする | ||
| + | - tokenを利用する | ||
| + | * ページの右上隅にある自分のプロフィール写真をクリックし、-> | ||
| + | * 左側のサイドバーで、[Personal access tokens]をクリック | ||
| + | * [Generate new token]クリックし新しいトークンを生成 | ||
| + | * アクセス権限を選択 | ||
| + | * 生成されたTokenをパスワードの代わりに使用します | ||
