Zunayeed Kamal
Zunayeed Kamal

Reputation: 111

make `git help` produce output in current window, rather than new Explorer window

When I write git help branch, it opens up a new window in explorer.

What command should I use and where to put so that I get help docs open in git bash not in window explorer browser ?

Upvotes: 1

Views: 65

Answers (2)

Romain Valeri
Romain Valeri

Reputation: 21928

Alternatively, you can use git <command> -h which has this specific behaviour

git <command> --help --> opens web browser for man page
git help <command> --> opens web browser for man page

git <command> -h --> outputs man in CLI

Upvotes: 0

Mureinik
Mureinik

Reputation: 311163

git help -m will force the help page to open in "manual" form in the console.

Upvotes: 1

Related Questions