From 75e24fdca4e70e751332c491a4b60a712e12c9e0 Mon Sep 17 00:00:00 2001 From: Cameron McEfee Date: Fri, 27 May 2011 16:25:16 -0700 Subject: Reorder files to alphabetize. Update titles to be more conducive to quick scans. The posts have been re-dated to not only alphabetize them within their categories, but also to make them easier to find with their directory. Files marked 2008 are active post files. Files marked 2009 are outdated or are redirects to newer files. Files have been renamed to match their title for easier updating. --- _posts/2009-07-04-git-html-help.markdown | 40 -------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 _posts/2009-07-04-git-html-help.markdown (limited to '_posts/2009-07-04-git-html-help.markdown') diff --git a/_posts/2009-07-04-git-html-help.markdown b/_posts/2009-07-04-git-html-help.markdown deleted file mode 100644 index 6c268b0..0000000 --- a/_posts/2009-07-04-git-html-help.markdown +++ /dev/null @@ -1,40 +0,0 @@ ---- -layout: default -title: Installing Git HTML help -description: How to install the local git HTML help files -categories: intermediate ---- - -

This guide will help you install the local git HTML help files and set git to use them by default instead of the man pages.

- -

Most git installations will install man files for help, but not the HTML help files (the same files seen on git's online documentation). Installing these help files is a fairly simple process.

- -Windows -------- - -[Msysgit](http://code.google.com/p/msysgit/) installs and sets the HTML help files as the default automatically. You don't need to do anything! - -OSX ---- - -To install web docs we simply need to clone the main git repo to the correct path and check out the "html" branch. Your documentation path may be different, pay attention to the output of `git help --web commit` for where your git is set to look for the HTML files. - -
-$ git help --web commit
-fatal: '/usr/local/git/share/doc/git-doc': not a documentation directory.
-
-$ sudo mkdir -p /usr/local/git/share/doc
-$ cd /usr/local/git/share/doc
-$ sudo git clone git://git.kernel.org/pub/scm/git/git.git git-doc --branch html
-
- -To verify that the web docs now work, run `git help --web commit`. If your browser launches then you're good to go. You can now set git to default to the web docs by running `git config --global help.format web` - -### Updating the docs - -Updating is a simple matter of pulling: - -
-$ cd /usr/local/git/share/doc
-$ sudo git pull
-
-- cgit v1.3.1