0
0

More than 1 year has passed since last update.

ローカルリポジトリをリモートリポジトリへPushする際のトークンについて

Last updated at Posted at 2022-10-09

新しくGitHubでリポジトリを作成してローカルリポジトリをリモートへPushする際に以下のエラーが発生しました。

Username for 'https://github.com': ***********
Password for 'https://******************': 
remote: Permission to ***********/UberAppSwiftUI.git denied to ***********

※『***********』はユーザ名などの個人情報のため伏せてます

『私がやった間違っていたこと』
・アクセストークンリストの作成(設定をデフォルトで作成)
・初回git push時にユーザ名、パスワードを聞かれる際、パスワードに対してアクセストークン文字列を入力した。

『解決策』
トークン作成の際に『repo』のチェックをしないとダメなようです。
(デフォルトでチェック入れてくれればいいのに...)
問題ないように思えますが、トークン作成の設定が間違っていたようです。
b085941f1f5977bda2f51d4ead141703.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