Home > Development Tools > git > A brief analysis of how to upload more than 20 files on Gitee

A brief analysis of how to upload more than 20 files on Gitee

PHPz
Release: 2023-04-10 10:04:14
Original
1555 people have browsed it

Gitee is an online code hosting platform independently developed in China. It supports Git and Svn code version control tools, which can help developers maintain code, collaborate on project development, and achieve code sharing and communication. When using Gitee, it is sometimes confusing to upload more than 20 files. So, how does Gitee upload more than 20 files?

First, open the Gitee official website and log in to your account. Enter the project page where you need to upload files, you can see the "Upload" button, click to enter the upload page.

On the upload page, you can directly drag the file to be uploaded to the upload area, or click "Select File" to load the file.

When the number of files to be uploaded is less than 20, you can directly select them all and upload them. However, when the number of files to be uploaded exceeds 20, Gitee will limit uploading to 20 files at a time, and will display "20 files have been selected, and ×× files can be selected."

In order to upload more than 20 files, multiple uploads are required. You can choose to upload the first 20 files first and then the remaining files. In addition, you can also select the first 20 files, the middle 20 files, and the last 20 files to upload separately. In this way, all more than 20 files can be uploaded to Gitee smoothly.

In addition to the above methods, you can also use the Git command provided by Gitee to upload. Users can upload multiple files in batches through the Git command line tool. Use Git's add and commit commands to add and submit files that need to be uploaded in batches. The specific operations are as follows:

  1. Log in to Gitee, create a warehouse, and clone the warehouse locally.
  2. Put the files to be uploaded into a directory in the local warehouse.
  3. Open the Git command line in the root directory of the local warehouse and enter the following command:

    // 添加文件
    $ git add .
    // 提交文件
    $ git commit -m "提交说明"
    // 推送到远程仓库
    $ git push origin master
    Copy after login

    In this way, we can use the Git command line tool to batch upload multiple files to Gitee middle.

In general, there are many ways to upload more than 20 files on Gitee. Through the above methods, users can easily solve this problem.

The above is the detailed content of A brief analysis of how to upload more than 20 files on Gitee. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template