{
    "content": [
        {
            "type": "text",
            "text": "# git-web--browse(1) (man)\n\n**Summary:** git-web--browse - Git helper script to launch a web browser\n\n**Synopsis:** git web--browse [<options>] <url|file>...\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (3 lines)\n- **DESCRIPTION** (41 lines)\n- **OPTIONS** (10 lines)\n- **CONFIGURATION VARIABLES** (1 lines) — 3 subsections\n  - CONF.VAR (from -c option) and web.browser (4 lines)\n  - browser.<tool>.path (5 lines)\n  - browser.<tool>.cmd (5 lines)\n- **NOTE ABOUT KONQUEROR** (16 lines) — 1 subsections\n  - Note about git-config --global (9 lines)\n- **GIT** (5 lines)\n\n## Full Content\n\n### NAME\n\ngit-web--browse - Git helper script to launch a web browser\n\n### SYNOPSIS\n\ngit web--browse [<options>] <url|file>...\n\n### DESCRIPTION\n\nThis script tries, as much as possible, to display the URLs and FILEs that are passed as\narguments, as HTML pages in new tabs on an already opened web browser.\n\nThe following browsers (or commands) are currently supported:\n\n•   firefox (this is the default under X Window when not using KDE)\n\n•   iceweasel\n\n•   seamonkey\n\n•   iceape\n\n•   chromium (also supported as chromium-browser)\n\n•   google-chrome (also supported as chrome)\n\n•   konqueror (this is the default under KDE, see Note about konqueror below)\n\n•   opera\n\n•   w3m (this is the default outside graphical environments)\n\n•   elinks\n\n•   links\n\n•   lynx\n\n•   dillo\n\n•   open (this is the default under Mac OS X GUI)\n\n•   start (this is the default under MinGW)\n\n•   cygstart (this is the default under Cygwin)\n\n•   xdg-open\n\nCustom commands may also be specified.\n\n### OPTIONS\n\n-b <browser>, --browser=<browser>\nUse the specified browser. It must be in the list of supported browsers.\n\n-t <browser>, --tool=<browser>\nSame as above.\n\n-c <conf.var>, --config=<conf.var>\nCONF.VAR is looked up in the Git config files. If it’s set, then its value specifies the\nbrowser that should be used.\n\n### CONFIGURATION VARIABLES\n\n#### CONF.VAR (from -c option) and web.browser\n\nThe web browser can be specified using a configuration variable passed with the -c (or\n--config) command-line option, or the web.browser configuration variable if the former is not\nused.\n\n#### browser.<tool>.path\n\nYou can explicitly provide a full path to your preferred browser by setting the configuration\nvariable browser.<tool>.path. For example, you can configure the absolute path to firefox by\nsetting browser.firefox.path. Otherwise, git web--browse assumes the tool is available in\nPATH.\n\n#### browser.<tool>.cmd\n\nWhen the browser, specified by options or configuration variables, is not among the supported\nones, then the corresponding browser.<tool>.cmd configuration variable will be looked up. If\nthis variable exists then git web--browse will treat the specified tool as a custom command\nand will use a shell eval to run the command with the URLs passed as arguments.\n\n### NOTE ABOUT KONQUEROR\n\nWhen konqueror is specified by a command-line option or a configuration variable, we launch\nkfmclient to try to open the HTML man page on an already opened konqueror in a new tab if\npossible.\n\nFor consistency, we also try such a trick if browser.konqueror.path is set to something like\nAPATHTO/konqueror. That means we will try to launch APATHTO/kfmclient instead.\n\nIf you really want to use konqueror, then you can use something like the following:\n\n[web]\nbrowser = konq\n\n[browser \"konq\"]\ncmd = APATHTO/konqueror\n\n#### Note about git-config --global\n\nNote that these configuration variables should probably be set using the --global flag, for\nexample like this:\n\n$ git config --global web.browser firefox\n\n\nas they are probably more user specific than repository specific. See git-config(1) for more\ninformation about this.\n\n### GIT\n\nPart of the git(1) suite\n\n\n\nGit 2.34.1                                   02/26/2026                           GIT-WEB--BROWSE(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "git-web--browse",
        "section": "1",
        "mode": "man",
        "summary": "git-web--browse - Git helper script to launch a web browser",
        "synopsis": "git web--browse [<options>] <url|file>...",
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 41,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "CONFIGURATION VARIABLES",
                "lines": 1,
                "subsections": [
                    {
                        "name": "CONF.VAR (from -c option) and web.browser",
                        "lines": 4
                    },
                    {
                        "name": "browser.<tool>.path",
                        "lines": 5
                    },
                    {
                        "name": "browser.<tool>.cmd",
                        "lines": 5
                    }
                ]
            },
            {
                "name": "NOTE ABOUT KONQUEROR",
                "lines": 16,
                "subsections": [
                    {
                        "name": "Note about git-config --global",
                        "lines": 9
                    }
                ]
            },
            {
                "name": "GIT",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}