Hey!
So, I just learned learned the basics of git & github.
I’m using vscode. So when I want to sync a project, I initialize the repository (in source control in the left panel).
And then in the command Pallete I “add remote from GithuB”
From there I paste the link from the repository which I created in github, e.g. https://github.com/PixelPete36/FCC.git
After that I name it, then sync it, and the files are uploaded to that repository.
The problem is… Within the FCC repository I created a folder called “Markdown Previewer”. And then when I move the files whicch were uploaded from VScode into there, then it messes with my VS code because it doesn’t know where the files went and it makes my Source Control panel on the left go so buggy and say there’s 10,000 things to update. Likely because it thinks they’re gone.
I’d like to put all the projects in their own separate folder, inside one repository. So then I don’t have a repository for every single project… But I’m having a lot of issues putting things into folders after I have connected the git to github…
I tried creating the folder in the repository ahead of time, and then in the https://github.com/PixelPete36/FCC.git
link , after FCC I added /Markdown Previewer, hoping that it would just add the files to the folder I created… But it throws an error and seems to only let sync the main repository location e.g. FCC…
I hope this made sense. I’ve been googling this issue for hours… I might just have to make separate repositories for each little project. But yeah, was hoping not to and just organize them all inside one repository.