質問編集履歴

2

誤字

2022/05/12 14:26

投稿

naka
naka

スコア44

test CHANGED
File without changes
test CHANGED
@@ -21,4 +21,4 @@
21
21
  git push -u origin main
22
22
  ```
23
23
  # エラーコード
24
- fatal: unable to access 'https://github.com/ユーザ名/レポジトリ名.git/': The requested URL returned error: 403
24
+ `fatal: unable to access 'https://github.com/ユーザ名/レポジトリ名.git/': The requested URL returned error: 403`

1

コマンドを追記した

2022/05/12 14:25

投稿

naka
naka

スコア44

test CHANGED
File without changes
test CHANGED
@@ -6,6 +6,9 @@
6
6
 
7
7
  ## 試したこと
8
8
  gitのユーザネーム, メールアドレスを変更した.
9
+ `git config --global user.name 'username'`
10
+ `git config --global user.email 'xxx@users.noreply.github.com'`
11
+
9
12
  一度作成されたリポジトリを削除した`rm -rf .git`
10
13
  originを削除した`git remote rm origin`
11
14
  以下のコマンドを実行した