Swift Project first day: Environment deployment

Source: Internet
Author: User

One: Project deployment

Project deployment one. Open source China (Oschina)
    • Website address: https://git.oschina.net/
    • Opened in August 2008, the Open source Chinese community aims to provide Chinese it technicians with a comprehensive, fast-updating platform for retrieving open source software and exchanging experience with open source.
    • At present, many companies in China will deploy the company's projects inOSChina
Two. With GitHUBThe contrast
    • Servers in China, faster
    • A free account can also be set up to create 私有 a project, and a GitHUB private project must be付费
Three. Use of Oschina
  • Registered Account
    • We recommend using NetEase's email address, and you may not receive a verification email with other free mailboxes.
  • Add SSH Public key
    • Open source China Help document address: https://git.oschina.net/oschina/git-osc/wikis/help #ssh-keys
  • Enter the terminal and enter the following command to generate the RSA key pair
    • $ ssh-keygen-t rsa-c "[Email protected]"
  • viewing public key content
    • $ cat Id_rsa.pub
  • Copy and paste the public key contents to Https://git.oschina.net/profile/sshkeys
  • Test public key
    • ssh-t [email protected]
  • New Project
  • Cloning a project
    • Switch to project directory
    • $ cd Project directory
    • $ git clone [email protected]:xxx/projectname.git
  • Add togitignore
    • Tips:
      • From https://github.com/github/gitignore getting the latest version of the gitignore file
      • Once a file is added .gitignore , individual project settings (e.g., last open files, debug breakpoints, etc.) are not submitted to the server for each commit, which is important in team development
      • Note: Do you know if .gitignore there is an important feature of team development experience

Swift Project first day: Environment deployment

Related Article

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.