1. Create the Github library
Creating a Github library is a great way to create a github library. Once we’ve created the library we’ll copy the address of the library
To copy the address of the Github library, click where it is marked. After we clone the library to the local, we need to create a new folder, and then start clone, the cloning method can be either git or CMD (my Windows system, the shortcut key is window+ R, enter CMD), I personally recommend using git. Because it will be used when uploading native code and will be fast (CMD can be very, very slow and projects can fail on a large scale), install without installation. Right-click in your new folder and go to Git Bsah Here
After the input
git cloneYour Github repository addressCopy the code
Remember all with Spaces.
2. Upload the project to the Guthub library
Go to the github folder and copy your project into it. Then right-click Git Bsah Here in the current directory (a folder with the same name as Github)
Git add.Copy the code
git commit -m "Remarks you want to submit."
Copy the code
git push -u origin master
Copy the code
The last step is to submit the file to the Github library, which requires you to fill in your Github account and password. Once it’s done, go to the Github library, and your code will have been uploaded.
3. Update the github library with vsCode
Use vsCode to open a local file (which is the same name as your Github library and was uploaded previously),
Find the mark marked in the picture, click on input update information, and you will find that the blue prompt 1(the number of updates you need) in the mark 1 in the picture will disappear, which means success. Now don’t be proud, there is still one last step to go, find the three dots to the right of the mark, click on it and find the word “push”. After clicking it, you will enter your Github account and password. After a blue dot has rotated around, you can go to github library and see, yay, the update is successful. Ok, what do not understand or wrong in the comments below, I see will help solve.
K, this is the end of the article. Finally, please look at my nickname