简体   繁体   中英

Remove nested git repository

I have a folder structure like so:

root
|--client
|--server
pom.xml

I have initiated the root folder, but when pushing the files to the repository the client folder does not get pushed.

Instead it only has an annotation of client @ abc191ls91 and I cannot enter that specific folder from the repository (using gitlab).

I am suspecting some kind of submodules, but I cannot find any file named .gitmodules so I am a bit clueless of how to handle this issue.

Anyone has an idea of what might be the issue here?

Solved by deleting the entire folder & re-creating it. Now it is tracked correctly by git.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM