Originally, I had cloned a repo. The repo contains various R scripts that me and my colleagues have worked on.
Ideally, scripts where located in the following file path (example names used):
Fruits(The main folder) ->
Apple
Blueberry ->
* Pie * Chocolate (The folder w/ scripts) * MilkshakePear
Strawberry
Today I was trying to add and push a new script that I had created via command line, but it kept showing as not listed as one of the changes I've made. I was also trying to receive the changes made by my peer with git add origin main, but the changes weren't showing up in the chocolates folder.
I decided to take a further look, and apparently I had created a git clone within a git clone. So now it looks like
Fruits(The main folder) ->
Apple
Blueberry
Fruits ->
* Apple * Blueberry * Pear * StrawberryPear
Strawberry
Now I'm trying to figure out how to put everything into that original Blueberry -> Chocolate folder. To re-iterate, the changes that my colleague made are in that ideal folder, while the changes that I've made and want to share are in that accidentally cloned sub folder.