December 2018
Beginner
826 pages
22h 54m
English
On centos2, let's create our empty repository:
$ mkdir example.git$ cd example.git/$ git init --bareInitialized empty Git repository in /home/vagrant/example.git/
Now, on our centos1 machine, we can clone the repository:
$ git clone 192.168.33.11:example.gitCloning into 'example'...The authenticity of host '192.168.33.11 (192.168.33.11)' can't be established.ECDSA key fingerprint is SHA256:s5NfsrM/XRuH5rXaZSaNmaUxXe3MlN2wRoJ3Q43oviU.ECDSA key fingerprint is MD5:ea:24:ef:b3:cf:d9:03:3d:06:da:1f:2f:d2:6b:1d:67.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added '192.168.33.11' (ECDSA) to the list of known hosts.vagrant@192.168.33.11's password: warning: You appear to have cloned an empty repository. ...