0
I’m now starting to use the git service, more precisely Github, but I have some questions:
My Javascript projects are all in a directory on my Desktop, but all the git tutorials I’ve read say to create and set up a local folder where the files will be commit data, I’ve created a folder in my documents, but every time I change the files in my project folder, I copy the files to the folder I created for git and through Gitbash upload the files?
This is still a little confusing for me, after all, now I must centralize all my codes in all languages in this single directory? How does this git folder where the INDEX is, etc?
Think of a git repository as a workbook "smart", that is able to track and translate all the changes you make in your project. So for each project you should have a separate repository, and the work is done within it, you don’t have to copy from one side to the other. Github is basically an online service to save and centralize your folder.
– nunks