1. Open the code cloud official website
2. Create a warehouse
3. Global configuration
4、Windows+R,cmd
enter:
git config --global user.name "jasmine_QiQi"
git config --global user.email "[email protected]"
5. Configure the remote project (there is an existing vue project locally)
1. Open my project:
2. Enter powershell in my project path
3. Enter:
git remote add origin https://gitee.com/jasmine-qiqi/vue_shop.git
4. Input git status
, check git status
5. If some files are not found, input git add .
, add all files to the storage area
6. Input and git commit -m "add files"
submit to local
7. Check the status again git status
8. Input
git push -u origin "master"
PS: Students who upload the project to the code cloud for the first time will pop up a prompt box, enter the user name and password, and after the first input, and then transfer the project to the code cloud, there is no need to input it again, it will be like the picture.
9. Refresh the newly created warehouse page, and you will see that the local project has been uploaded to the code cloud