After installing GitHub for Windows
, I can use git
command in Powershell
directly:
C:\Users\xiaona\Documents\GitHub> git
usage: git [--version] [--help] [-C <path>] [-c name=value]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]
The most commonly used git commands are:
add Add file contents to the index
bisect Find by binary search the change that introduced a bug
......
But where is the git
command installed? I can't find it in C:\Program Files
or C:\Program Files (x86)
.
After checking, it should under:
For example, in my PC, it is: