Git:GitHub

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
Git:GitHub [2022/11/29 23:47] – ↷ Git:Git目次:GitHub から Git:GitHub へページを移動しました。 白くじらGit:GitHub [2025/04/12 05:15] (現在) – 外部編集 127.0.0.1
行 70: 行 70:
 [safe] [safe]
  directory = *  directory = *
 +```
 +
 +### リポジトリアクセス時のエラー
 +
 +参考:[GitHubのリポジトリにアクセス時に「remote: Support for password authentication was removed on August 13, 2021.」エラー - キリウ君が読まないノート](https://note.kiriukun.com/entry/20210904-github-password-authentication-was-removed)
 +
 +```
 +remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
 +```
 +
 +2021年8月以降、GitHubのリポジトリにアクセスするにはユーザとパスワードのほかに、**アクセストークン**が必要になった。
 +
 +##### アクセストークンの取得
 +
 +GitHubにログインして、
 +
 +「Settings」→「Developer settings」→「Personal access tokens」→「Generate new token」
 +
 +で生成する。
 +
 +生成時にアクセストークンが表示されるが、再度表示することはできないので、どこかにメモしておくこと。
 +
 +##### アクセストークンの使い方
 +
 +クローンする場合
 +```
 +$ git clone https://<アクセストークン>@<リポジトリURL>
 ``` ```
  
  • Git/GitHub.1669733252.txt.gz
  • 最終更新: 2025/04/12 05:15
  • (外部編集)