新しい Heroku アプリを作成したばかりbackendで、レポ (ブランチstaging) のサブツリー フォルダーを新しく作成したアプリmyapp-staging(まだブランチなし) にプッシュできません。
サブツリーをプッシュする方法は次のとおりです。
git push heroku `git subtree split --prefix=backend staging`:master
関連するエラー:
error: unable to push to unqualified destination: master
The destination refspec neither matches an existing ref on the remote nor
begins with refs/, and we are unable to guess a prefix based on the source ref.
error: failed to push some refs to 'git@heroku.com:myapp-staging.git'
やってみgit fetch herokuました。この「不適格な目的地」とはどういう意味ですか? このコマンドは遠いブランチを作成するべきではありませんか?