In Git Bash, they give me an error for return the "man" command
$ man git
bash: man: command not found
My version of Git:
$ git --version
git version 2.18.0.windows.1
Unfortunately Git Bash for Windows does not have the man command. Instead, try using the --help flag after the command you want to learn about. And you also find the manual pages at many different sites online, e.g. http://linuxmanpages.com/. Programs that are run from the shell can get extremely complicated.
To get the manual page for the aliased command, use git <command> --help .
Run Command Prompt as Administrator and type choco install git and you'll be able to install git devoted to the command line. Save this answer.
The Bash command pwd is used to print the 'present working directory'. pwd is equivalent to executing cd on a DOS(Windows console host) terminal. This is the folder or path that the current Bash session resides in. The Bash command ls is used to 'list' contents of the current working directory.
The Git for Windows package (aka Git Bash) does not include the Unix man
command but you don't need it.
You can get help for any Git command by running git help <command-name>
(for example, git help checkout
).
Also, you can read the help online at https://git-scm.com/docs.
On git bash you can use Command-name --help insted of the man command-name
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With