Skip to Content
Linux Administration Cookbook
book

Linux Administration Cookbook

by Adam K. Dean
December 2018
Beginner
826 pages
22h 54m
English
Packt Publishing
Content preview from Linux Administration Cookbook

How to do it...

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. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781789342529Supplemental Content