0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【Heroku】manage local git repository for app エラーの解決方法とは...!?

Posted at

エラー内容

  • gitを使用したherokuでのデプロイでmanage local git repository for appというエラーメッセージが表示された。
    • エラー詳細
manage local git repository for app

USAGE
  $ heroku git:COMMAND

COMMANDS
  git:clone   clones a heroku app to your local machine at DIRECTORY (defaults to app name)
  git:remote  adds a git remote to an app repo

原因

  • manage local git repository for app」と調べても全然記事が出てこない...何なんだこれは、、、

と思ってよくよくコマンドを確認したら凡ミスでした。

↓ターミナルに打ち込んでいたコマンド↓

heroku git push heroku main    

なんと!
頭にherokuがついていた!!!汗
(他のherokuコマンドで勝手に頭につける癖がついていた模様...)

解決方法

git push heroku main
  • 上記コマンドで無事に解決。めでたしめでだし。
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?