Isaac Sloan - Version Server Conf Files Locally with Git
Banner700

Version Server Conf Files Locally with Git

Step 1: Choose the folder

cd your_conf_folder

Step 2: Initialize Git for the Folder

git init

Step 3: Create .gitignore

vim .gitignore

Copy the following whitelisting code into the file and modify where necessary.

# First, ignore everything
*
# Now, whitelist anything that's a directory
!*/
# Add all the file types you're interested in.
!*.one
!*.two
!*.etc
July 17, 2014
gitserver config
comments powered by Disqus