Upload personal items to Code Cloud

When learning Android-Studio, the teacher suggested that we upload our project to Code Cloud, so I learned it and used two methods to go around.

1. Use Android-Studio plug-in

  1. Open Android-Studio, File> settings> Plugins> Install Gitee
    Insert picture description here

  2. After installing gitee, click the toolbar VCS> Import into Version Control> Share Project on GiteeInsert picture description here

  3. (You need to fill in the username and password of gitee for the first time to upload the project. Follow the prompts to be OK. I ca n’t demonstrate it here because I uploaded it before.) Fill in the project name and description, and whether it is private. It ’s good. The
    Insert picture description here
    Insert picture description here
    above upload was successful.
    Insert picture description here
    After the project has been changed, you can submit an update (it is recommended to update before submission)
    Insert picture description here

Second, use git to upload the project to the code cloud

I learned the blogger ’s method here, which is very detailed and effective
. Https://blog.csdn.net/weixin_38899361/article/details/80522569?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant. none-task

  1. Install git

[Reference link]
https://blog.csdn.net/weixin_44950987/article/details/102619708

  1. Create a new project on Code Cloud
    Insert picture description here
    Insert picture description here

  2. Copy project link
    Insert picture description here

  3. Right click to open git bash
    Insert picture description here

  4. Global Settings
    Insert picture description here

  5. Create a git repository and enter the following commands in sequence

mkdir 仓库名
cd 仓库名
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin 项目链接
git push -u origin master


Insert picture description here

  1. If yes, the existing warehouse has been
    Insert picture description here
    uploaded successfully
    Insert picture description here
Published 9 original articles · liked 0 · visits 253

Guess you like

Origin blog.csdn.net/bdwdwks/article/details/105109198