Create and delete your own git repository

Source: Internet
Author: User

First, create a git warehouse

1. Login to GitHub account

Https://github.com

2, click on the top right corner "+", select "New Repository", as shown:

3, operation as shown:

4, enter the following interface:



5, new Xcode project, open the terminal, CD to the project root directory, and then execute the following command: $ git init
$ git Add.
$ git commit-m "A-commit"
$ git remote add origin here to fill in the address you just copied
$ Git push-u Origin Master


6, here your warehouse is created successfully, after the submission, just to execute the following command: $ git Add.
$ git commit-m "submit a message and fill it out at random"
$ Git pull Origin Master

$ GIT push origin master

Two, delete git warehouse

1, first into the corresponding repository, and then click Setting
2, click Delete the repository
3, enter the name of the repository to be deleted, you can delete

Third, modify the remote warehouse address $ git Remote RM origin
$ git Remote add origin your warehouse address

Note: GitHub upload a single file greater than 50M will have a warning, greater than 100M will upload failure.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.