git addを行うとエラーが出ます。どのようにしたら解消できますか?
error
1warning: adding embedded git repository: backend 2hint: You've added another git repository inside your current repository. 3hint: Clones of the outer repository will not contain the contents of 4hint: the embedded repository and will not know how to obtain it. 5hint: If you meant to add a submodule, use: 6hint: 7hint: git submodule add <url> backend 8hint: 9hint: If you added this path by mistake, you can remove it from the 10hint: index with: 11hint: 12hint: git rm --cached backend 13hint: 14hint: See "git help submodule" for more information.
現在のリポジトリに、別のリポジトリ (backend) を追加しようとしてますね。解決法は、どうしたいかによります。
backendのリポジトリを削除して現在のリポジトリにbackendを含めたいです。
なら rm -rf backend/.git かなぁ。
https://qiita.com/baby-0105/items/3a819d25c905dc8bcb19
これは行ったのですがgithubにあげても名前があるだけでファイルが送れません
フォルダですね

回答1件
あなたの回答
tips
プレビュー