<div dir="ltr">There should never be any "zipping" involved in using Git + GitHub. Easiest thing here is:<div><br></div><div>1. First create the github repository using your browser. Choose an appropriate project type (e.g., NodeJS or React) to create a .gitignore file for that kind of project.</div><div>2. On your PC in your terminal "git clone" this repository into a directory.</div><div>3. Now on your PC, copy all of the files you want to "upload" into this new directory. Note that often you'd want a separate GitHub repository per project. But if you are doing a lot of tutorial projects and just want to save time, you can create a single repository and just dump all of your tutorial projects in there as separate subdirectories.</div><div>4. In the terminal, cd into the directory that you cloned into. Then you can then add ALL of the files you just copied to the git repository with this command:</div><div><br></div><div> git add --all</div><div><br></div><div>Then commit them with:</div><div><br></div><div> git commit -m "some message goes here"</div><div><br></div><div>Finally "push" them (i.e., upload them) with:</div><div><br></div><div> git push</div><div><br></div><div>It is also possible to use "git init" and "git add remote" to turn an existing project folder into a git repository instead of copying all of the files into a closed directory, bypassing steps 2 & 3 above. But it's a bit more involved and error prone as it involves merging.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 8, 2024 at 6:16 AM marvin hunkin via NFBCS <<a href="mailto:nfbcs@nfbnet.org">nfbcs@nfbnet.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-8906189576378677868"><div lang="EN-AU" style="overflow-wrap: break-word;"><div class="m_-8906189576378677868WordSection1"><p class="MsoNormal">Hi. Well do have a git hub account and signed in. and got git installed latest version. 2.45. now is there a way to then upload the main folder with all the sub folders and other stuff in the git. Which then uploads or do I have to then spend a lot of time having to zip up each folder. If say 30 or more projects.<u></u><u></u></p><p class="MsoNormal">So, did do three linkedin learning courses and the videos where handy. And then got the sample code and then just then learned how to write the code for the parts I did not know.<u></u><u></u></p><p class="MsoNormal">Any one done a lot with git.<u></u><u></u></p><p class="MsoNormal">Marvin.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div>_______________________________________________<br>
NFBCS mailing list<br>
<a href="mailto:NFBCS@nfbnet.org" target="_blank">NFBCS@nfbnet.org</a><br>
<a href="http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org" rel="noreferrer" target="_blank">http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org</a><br>
To unsubscribe, change your list options or get your account info for NFBCS:<br>
<a href="http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/paul%40yorkfamily.com" rel="noreferrer" target="_blank">http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/paul%40yorkfamily.com</a><br>
</div></blockquote></div>