Home  >  Article  >  Development Tools  >  How to create a remote Git repository

How to create a remote Git repository

藏色散人
藏色散人Original
2018-11-17 14:53:219834browse


#This article mainly introduces how to create a remote Git repository.

Git is a free, open source distributed version control system that can handle everything from small to large projects quickly and efficiently. So in the previous article, I introduced to you the method of creating a local repository, that is, the local Git warehouse.

Let’s continue to explain how to create a remote Git repository.

What is a remote warehouse?

Remote warehouse refers to the repository of your project hosted on the Internet or other networks.

For example, we can create a warehouse on GitHub (or the domestic code cloud website). GitHub is a hosting platform for open source and private software projects, because it only supports git as the only The repository format is hosted, hence the name gitHub.

First we can log in to the GitHub website and click on the location shown in the picture below to create a warehouse. (Here we have translated the page)

How to create a remote Git repository

Then enter the name of the warehouse you want to create. Here we have created a warehouse named ceshi, which has public and private option (public is selected by default), public means that anyone can see this warehouse, but only you can choose who can submit or modify your warehouse, private means that only you can choose who can view and submit the warehouse .

How to create a remote Git repository

Finally, when we click Create, we can jump to the following interface, where the link is the address of our newly created warehouse.

How to create a remote Git repository

Now our remote warehouse has been successfully created.

This article is about How to create a remote warehouse. I hope it will be helpful to friends in need!


The above is the detailed content of How to create a remote Git repository. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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