from small one page howto to huge articles all in one place
 

search text in:





Poll
What does your sytem tell when running "ulimit -u"?








poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

85531

userrating:

average rating: 1.7 (82 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

201998

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

84044

userrating:

average rating: 1.3 (27 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





GIT\-WEB\-\-BROWSE

Section: Git Manual (1)
Updated: 03/13/2015
Index Return to Main Contents
 

NAME

git-web--browse - Git helper script to launch a web browser  

SYNOPSIS

git web--browse [OPTIONS] URL/FILE ...

 

DESCRIPTION

This script tries, as much as possible, to display the URLs and FILEs that are passed as arguments, as HTML pages in new tabs on an already opened web browser.

The following browsers (or commands) are currently supported:

* firefox (this is the default under X Window when not using KDE)

* iceweasel

* seamonkey

* iceape

* chromium (also supported as chromium-browser)

* google-chrome (also supported as chrome)

* konqueror (this is the default under KDE, see Note about konqueror below)

* opera

* w3m (this is the default outside graphical environments)

* elinks

* links

* lynx

* dillo

* open (this is the default under Mac OS X GUI)

* start (this is the default under MinGW)

* cygstart (this is the default under Cygwin)

* xdg-open

Custom commands may also be specified.  

OPTIONS

-b <browser>, --browser=<browser>

Use the specified browser. It must be in the list of supported browsers.

-t <browser>, --tool=<browser>

Same as above.

-c <conf.var>, --config=<conf.var>

CONF.VAR is looked up in the Git config files. If itcqs set, then its value specifies the browser that should be used.
 

CONFIGURATION VARIABLES

 

CONF.VAR (from -c option) and web.browser

The web browser can be specified using a configuration variable passed with the -c (or --config) command-line option, or the web.browser configuration variable if the former is not used.  

browser.<tool>.path

You can explicitly provide a full path to your preferred browser by setting the configuration variable browser.<tool>.path. For example, you can configure the absolute path to firefox by setting browser.firefox.path. Otherwise, git web--browse assumes the tool is available in PATH.  

browser.<tool>.cmd

When the browser, specified by options or configuration variables, is not among the supported ones, then the corresponding browser.<tool>.cmd configuration variable will be looked up. If this variable exists then git web--browse will treat the specified tool as a custom command and will use a shell eval to run the command with the URLs passed as arguments.  

NOTE ABOUT KONQUEROR

When konqueror is specified by a command-line option or a configuration variable, we launch kfmclient to try to open the HTML man page on an already opened konqueror in a new tab if possible.

For consistency, we also try such a trick if browser.konqueror.path is set to something like A_PATH_TO/konqueror. That means we will try to launch A_PATH_TO/kfmclient instead.

If you really want to use konqueror, then you can use something like the following:

        [web]
                browser = konq

        [browser "konq"]
                cmd = A_PATH_TO/konqueror

 

Note about git-config --global

Note that these configuration variables should probably be set using the --global flag, for example like this:

$ git config --global web.browser firefox

as they are probably more user specific than repository specific. See git-config(1) for more information about this.  

GIT

Part of the git(1) suite


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
CONFIGURATION VARIABLES
CONF.VAR (from -c option) and web.browser
browser.<tool>.path
browser.<tool>.cmd
NOTE ABOUT KONQUEROR
Note about git-config --global
GIT


Please read "Why adblockers are bad".



Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2013 Sascha Nitsch Unternehmensberatung UG(haftungsbeschränkt)
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 3.6 ms