>
Currently Browsing: git

Setting up a local Git using a remote server

Install git sudo apt-get install git Configure git git config --global user.name "Jay Everson (hostname-O/S)" git config --global user.email jeverson@techmentor.com Setup SSH client to use port 2222 # vi ~/.ssh/config Host backwater.techmentor.com port 2222 Setup SSH to login to the “origin” server without a password. Create source directory Clone Repos git clone gitpriv@backwater.techmentor.com:gitrepo/scripts.git git clone gitpriv@backwater.techmentor.com:gitrepo/configs.git git clone...
read more

Using Git for DNS and DHCP Config Files

# sudo yum install git-core # git init Initialized empty Git repository in /.git/ # git add /var/named/chroot/var/named/zones/* # git commit -m 'Added DNS zone files' [master (root-commit) a8418bf] Added DNS zone files Committer: root <root@liminf03.motion.com> Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git config –global user.name “Your Name” git config –global user.email you@example.com After doing this, you may fix the...
read more

Next Entries »