This is the fourth day of my participation in the August More text Challenge. For details, see: August More Text Challenge

Train of thought

  1. The commonly used clone to domestic or your own Git server
  2. Podfile through:git => 'xxxxxxxxxxxx.git'Specify your home or your own Git server

Need tools (use Mac as an example)

  1. The lantern (github.com/getlantern/…).
  2. cocoapods
  3. Git Server (gitee.com/)

Operations (RxSwift is used as an example)

(automatic)Clone Git repositoryAnd transfer it to your ownGit server

  1. inGitHubTo find their own use of librariesGit serveraddress

  1. Import your own server

  1. Get your Git server address

(Manual) No direct import from the serverGitHub/GitLabWarehouse function, or import is too slow import failed

Use the Lantern to set the HTTP network proxy to solve the 443: Timed out problem

  1. Install and start lantern

  1. Open them in sequence after the connection is successfulSystem preferences > network > senior > The agent

  1. Get the proxy server address and port number and modify the Git global configuration file

1. TheGit repository CloneGo to local (for example, sourceTree) and clicknew > From the URL cloning)

2. Add your own remote repository to the local repository (Double-click to open the local repository and clickwarehouse > The warehouse is set > Remote warehouse > add)

3. Push the repository to your own remote repository