herokuにコミットしたディレクトリをpushしたいのですが、
sudo git add sample
sudo git commit -m"sample add"
sudo git push sample master
としても
fatal: 'sample' does not appear to be a git repository
fatal: Could not read from remote repository.
とエラーになります。
heroku loginはできているので、アクセスはできているのですが、リモートからコマンドを読むためにはどうしたらいいのでしょうか?
git push --set-upstream sample master
はすでに試しているのですがだめでした。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。