1. First create a new project on Code Cloud, as shown in the figure below
2. Create a new folder locally
3. Enter the newly created folder, click the right mouse button, and select git bash here
Then enter git init in the window. At this time, the folder will have an extra .git folder. If you can't see the folder, click the right mouse button and select "Show hidden files" to see this folder
4. Enter just now In the newly created project in Code Cloud, copy the path
5 in the box , and then return to the newly created folder locally
Continue to operate git
Enter git remote add origin + the path you just copied in Code Cloud
6. Continue to enter the git pull origin master command to pull the warehouse on the code cloud to the local folder.
7. Add the files to be uploaded to the folder just created.
8. Use git add. (. means all) or git add + File name // Save the file to the cache area
9, use git commit -m'newly added file content description' // add file description
10. Use git push origin master to push the local warehouse to the remote warehouse
11, back Code Cloud, try refreshing, you can see the new project