Click for lightning. Merge-your-damn-self. But if you commit with a well written message (and not just a period to get past a sanity check), I’m happy. Tom Hardy likes it when you tell me wtf.
There’s another new conference in town! Well, not my town, but Vancouver. MacDev Ops is a hot topic. One that will only increase in the coming years. Thanks to Mat X and Brian Warsing for bringing about a brilliant conference. The conference will be held on June 19, 2015 and is an easy $99 if you sign up soon. Also, submit a talk if DevOps is your thing. They’re looking to bring the following topics to the table:
- Puppet, Chef and other automation from Desktop to Cloud and back
- Software deployment with Munki and AutoPkg: the app ecosystem surrounding it
- Cool tools: demo of awesome Mac Admin projects from GitHub
- DevOps: How to adopt Automation and Best practices in IT operations
- MDM: Profiles and Mac configuration management in the cloud
The latest Git works swimmingly on the Mac. To download it you can curl it from the repository:
curl http://kernel.org/pub/software/scm/git/git-22.214.171.124.tar.gz -ONext, extract the files:
tar xzvf git-126.96.36.199.tar.gzOnce extracted, cd into the directory that you extracted the files into and then run a make configure with the git-188.8.131.52 directory as your working directory.
make configureIf you cannot run make becuase you don’t have a compiler, make sure that you have installed the developer tools on your computer. Once you have run the make, run the configure, specifying the directory you would like to install into. In this case I’ll be deploying into /usr/local/git:
./configure –prefix=/usr/local/git NO_MSGFMT=yes make prefix=/usr/local/git allNow run a make install to complete the installation:
make installOnce git has been installed, let’s look at the global options and choose which ones to configure:
git config –global –listThe first setting you’ll typically want to change is the name that git uses. To set your name use the git config again, but specify the –global option and then the setting (in this case user.name) following by the actual name you would like to use (in my case it’s Charles Edge):
git config –global user.name “Charles Edge”Next, use the user.email setting to set your email address:
git config –global user.email “firstname.lastname@example.org”Now that you know how to customize options, check the global options list and change any remaining that you would like to set. Once done, let’s grab the man pages. To install the man pages, first curl them down:
curl -O http://kernel.org/pub/software/scm/git/git-manpages-184.108.40.206.tar.gzThen extract the man pages into your /usr/local/share/man directory (or wherever you like to keep them):
tar xjv -C /usr/local/share/man -f git-manpages-220.127.116.11.tar.gzIf git is already installed you can obtain the version information by running git with a –version option:
git –versionNow let’s grab the html docs:
curl -O http://kernel.org/pub/software/scm/git/git-htmldocs-18.104.22.168.tar.gzAnd then let’s put them in /Library/WebServer/Documents:
tar xjv -C /Library/WebServer/Documents -f git-htmldocs-22.214.171.124.tar.gzYou should now be able to use git.