teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

誤字

2019/11/11 22:15

投稿

takashi-factory
takashi-factory

スコア6

title CHANGED
File without changes
body CHANGED
@@ -7,7 +7,7 @@
7
7
  ### 発生している問題
8
8
 
9
9
  ```terminal
10
- git config --global url."git@heroku.com:".insteadOf https://heroku.com/
10
+ git config --global url."git@heroku.com:".insteadOf https://git.heroku.com/
11
11
  ```
12
12
  を実行したところ。y/nを聞かれ、迂闊にyesyesしていたら
13
13
  herokuのpush先がsshに変更されてしまい、

1

誤字

2019/11/11 22:15

投稿

takashi-factory
takashi-factory

スコア6

title CHANGED
File without changes
body CHANGED
@@ -7,7 +7,7 @@
7
7
  ### 発生している問題
8
8
 
9
9
  ```terminal
10
- git config --global url."git@github.com:".insteadOf https://github.com/
10
+ git config --global url."git@heroku.com:".insteadOf https://heroku.com/
11
11
  ```
12
12
  を実行したところ。y/nを聞かれ、迂闊にyesyesしていたら
13
13
  herokuのpush先がsshに変更されてしまい、
@@ -25,11 +25,11 @@
25
25
 
26
26
  戻すために
27
27
  ```terminal
28
- git config --global url."https://github.com/".insteadOf git@github.com:
28
+ git config --global url."https://git.heroku.com/".insteadOf git@heroku.com:
29
29
 
30
- git config --global url.https://github.com/.insteadOf git@github.com/
30
+ git config --global url.https://git.heroku.com/.insteadOf git@heroku.com/
31
31
 
32
- git config --global url."https://github.com/".insteadOf git@github.com/
32
+ git config --global url."https://git.heroku.com/".insteadOf git@heroku.com/
33
33
  ```
34
34
  をそれぞれ実行しましたが反応なしです。
35
35