Fetching config from git

Jurjen Bokma

March 2012


I've got the configuration created in Conference under Docker lying around in a git repository. This is one way to get it out.

apprentice@testserver:~$ sudo mv etc/samba/smb.conf etc/samba/smb.conf.dist
apprentice@testserver:~$ sudo mv etc/nsswitch.conf etc/nsswitch.conf.dist
apprentice@testserver:~$ sudo mv etc/krb5.conf etc/krb5.conf.dist
apprentice@testserver:~$ sudo git pull apprentice@git.mydomain.com:/github/winbind-config
apprentice@testserver:~$ sudo git checkout HEAD