-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Nested Git Repository #76
Comments
/assign |
what happened is you clone the repository again inside the backend folder, (not you the script.sh) since it did not find the repository at the current folder (ig it was intended to be used from outside the repo, which is still not correct since it extracts it to projectroot/s2v_old instead of projectroot/backend/s2v_old where the server expects it to be). |
Yes i am also working on the PR |
oh, wanna co-author? |
Yeah sure , but it about to get complete |
I changed the script.sh |
To solve the issue of a nested Git repository in backend/EduAid, first we will have to remove the .git folder inside backend/EduAid to stop treating it as a separate repository , after this then we will to add the directory to the main repository, and push them to the remote repository. This will ensures a clean and consistent repository structure. |
I doubt that, having the repo cloned inside the backend folder for no reason is neither clean nor consistent 😭 |
We are facing issues with the repository due to the following reasons:
backend/EduAid
directory contains its own.git
folder, which is being treated as a separate Git repository inside the main repository. This causes conflicts and makes the repository structure inconsistent.Steps to Reproduce:
Clone the Repository:
git clone https://github.com/AOSSIE-Org/EduAid.git cd EduAid
Navigate to the backend folder and run the following shell script:
now Write the following git command*
git add .
Expected Issue
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git restore ..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: backend/EduAid (untracked content)
The text was updated successfully, but these errors were encountered: