I used a monorepo structure for my project . I'm not trying to deploy my API on Heroku with the CLI. When I do git subtree push
from the top level of the working tree I get the following error:
'IEEE-CIS' does not exist; use 'git subtree add'
The directory clearly exist as you can see in my project . I used git subtree add
with no success. Here's the full command I'm using atm:
git subtree push --prefix=IEEE-CIS Fraud Detection/packages fraud_detection_api heroku main
On the command line, spaces separate arguments. IEEE-CIS
is being interpreted as the prefix, then Fraud
, and Detection/packages
are separate arguments.
Try quoting the argument:
git subtree push --prefix="IEEE-CIS Fraud Detection/packages" fraud_detection_api heroku main
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.