1, first create a project code in the cloud, as shown in FIG.
2, create a local folder
3, into the new folder, right click and choose git bash here
Then enter git init in this time window the folder will be more of a .git folder, can not see the folder, click the right mouse button to select "Show hidden files do not show" you can see the folder
4, just enter the code in the new cloud project, copy box in the path
5, then back to the local new folder
Continue git
Enter the git remote add origin + that line the path you just copy the code in the cloud
6, continue to enter git pull origin master command, the warehouse pull on the cloud code to a local folder
7, to upload files, add folders to the file you just created
8, use git add. (. Means all) or git add + filename // Save the file to cache
9, using the -m 'file newly added content description' commit git // add file description
10, using git push origin master, will be pushed to the remote repository local repository
11, clouds back yard, try to refresh, you can see the new projects
Author: Sha Sha Sha Nana
link: https: //www.jianshu.com/p/3e0b213ab03d
Source: Jane books
are copyrighted by the author. Commercial reprint please contact the author authorized, non-commercial reprint please indicate the source.