Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change my default browser in git's BASH shell?

Tags:

git

For some reason, when I try to look at git help pages, it opens them in gedit instead of in chrome, how do I configure it to launch chrome again? I am using git's bash console in windows 7.

like image 869
Dan Q Avatar asked Apr 28 '11 22:04

Dan Q


1 Answers

Try with git config --global web.browser chrome.

From the manual:

The web browser can be specified using the configuration variable help.browser, or web.browser if the former is not set. If none of these config variables is set, the git web--browse helper script (called by git help) will pick a suitable default. See git-web--browse(1) for more information about this.

like image 188
Blagovest Buyukliev Avatar answered Oct 04 '22 17:10

Blagovest Buyukliev