How to upload projects to Code Cloud in Linux system

How to upload projects to Code Cloud in Linux system

Create a new project test1 on Code Cloud

Enter the following command to get the public key

Copy the public key and paste it into

Move to the file directory to be submitted under the Linux system.

Enter the command: git clone [email protected]:wangdeai/test1.git

git clone + ssh link

The ssh link is obtained as follows:

Copy the files to be uploaded to the project:

cp -r fresh test1/

Enter the test1 directory and check the status:

git status

Next we need to set up tracking

git add fresh/

Check the status:

git status

Write log: (explain the changes to the file)

git commit -m 'add fresh'

Just push and submit

Summarize

The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links

You may also be interested in:
  • How to upload local projects to Code Cloud in Android Studio (OSChina)
  • How to clone a project from Git to local in idea
  • Detailed graphic tutorial on uploading a new Android Studio project to Code Cloud via git
  • How to export projects on Code Cloud in Eclipse (graphic tutorial)
  • Methods and steps to deploy springboot project under Linux
  • Solution to 404 error when accessing a project deployed under Linux system
  • Specific steps to modify the default access project of Tomcat in Linux (must read)
  • Deploy nodejs project under linux (two ways)
  • Detailed explanation of using VS Code to compile and debug C++ projects in Linux
  • How to solve the error "Template does not exist" when deploying thinkphp project to Linux server
  • Deploy Python's Django project to Apache server under Linux
  • Using forever to auto-start Node.js project on Linux
  • How to deploy javaweb project to linux

<<:  Detailed explanation of Vue3.0 + TypeScript + Vite first experience

>>:  Tips and precautions for using MySQL index

Recommend

Detailed explanation of Nginx Rewrite usage scenarios and code examples

Nginx Rewrite usage scenarios 1. URL address jump...

Introduction to the role of HTML doctype

Document mode has the following two functions: 1. ...

Ajax responseText parses json data case study

Solve the problem that the responseText returned ...

Vue-cli creates a project and analyzes the project structure

Table of contents 1. Enter a directory and create...

How to build a redis cluster using docker

Table of contents 1. Create a redis docker base i...

Using react-virtualized to implement a long list of images with dynamic height

Table of contents Problems encountered during dev...

js implements array flattening

Table of contents How to flatten an array 1. Usin...

Vue basic instructions example graphic explanation

Table of contents 1. v-on directive 1. Basic usag...

A brief discussion on Flex layout and scaling calculation

1. Introduction to Flex Layout Flex is the abbrev...

6 solutions to IDEA's inability to connect to the MySQL database

This article mainly introduces 6 solutions to the...

How to explain TypeScript generics in a simple way

Table of contents Overview What are Generics Buil...

HTML left, center, right adaptive layout (using calc css expression)

In the latest HTML standard, there is a calc CSS e...

Docker installation and configuration steps for MySQL

Table of contents Preface environment Install Cre...