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.