首页 > 解决方案 > 在 git repo 中使用自己的 git 添加多个应用程序

问题描述

我想在与此相同的 git 存储库中添加后端和前端

https://github.com/panacloud-modern-global-apps/full-stack-serverless-cdk/tree/main/step06_appsync_frontend_amplify

当我尝试推送应用程序时出现错误,因此我必须从前端和后端都删除 git。并且仅在父级中具有它。

错误

On branch main
Your branch is up to date with 'origin/main'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
    Backend/
    frontend/

nothing added to commit but untracked files present (use "git add" to track)

标签: gitgithub

解决方案


推荐阅读