1git-help(1) 2=========== 3 4NAME 5---- 6git-help - display help information about git 7 8SYNOPSIS 9-------- 10'git help' [-a|--all|-i|--info|-w|--web] [COMMAND] 11 12DESCRIPTION 13----------- 14 15With no options and no COMMAND given, the synopsis of the 'git' 16command and a list of the most commonly used git commands are printed 17on the standard output. 18 19If the option '--all' or '-a' is given, then all available commands are 20printed on the standard output. 21 22If a git command is named, a manual page for that command is brought 23up. The 'man' program is used by default for this purpose, but this 24can be overriden by other options. 25 26Note that 'git --help ...' is identical as 'git help ...' because the 27former is internally converted into the latter. 28 29OPTIONS 30------- 31-a|--all:: 32 Prints all the available commands on the standard output. This 33 option superseeds any other option. 34 35-i|--info:: 36 Use the 'info' program to display the manual page, instead of 37 the 'man' program that is used by default. 38 39-w|--web:: 40 Use a web browser to display the HTML manual page, instead of 41 the 'man' program that is used by default. 42+ 43The web browser can be specified using the configuration variable 44'help.browser', or 'web.browser' if the former is not set. If none of 45these config variables is set, the 'git-browse-help' script (called by 46'git-help') will pick a suitable default. 47+ 48You can explicitly provide a full path to your prefered browser by 49setting the configuration variable 'browser.<tool>.path'. For example, 50you can configure the absolute path to firefox by setting 51'browser.firefox.path'. Otherwise, 'git-browse-help' assumes the tool 52is available in PATH. 53+ 54Note that the script tries, as much as possible, to display the HTML 55page in a new tab on an already opened browser. 56 57Author 58------ 59Written by Junio C Hamano <gitster@pobox.com> and the git-list 60<git@vger.kernel.org>. 61 62Documentation 63------------- 64Initial documentation was part of the gitlink:git[7] man page. 65Christian Couder <chriscool@tuxfamily.org> extracted and rewrote it a 66little. Maintenance is done by the git-list <git@vger.kernel.org>. 67 68GIT 69--- 70Part of the gitlink:git[7] suite