Abstract: Git There are four ways to access the remote server Git
Git There are four ways to access remote Git server:
- SSH security best
- git clone [email protected]:ihower/sandbox.git
- HTTP / HTTPS worst speed, but it can break through the firewall restrictions
- git clone https://[email protected]/ihower/sandbox.git
- Git protocol fastest, but the lack of authentication mechanism (it can only be made read-only)
- git clone git://github.com/ihower/sandbox.git
- File a local directory (Some people use Dropbox to share git init -bare -shared directory !! Crazy !!)
- git clone file://path/to/repo.git
Original: Big Box Git There are four ways to access remote Git server