安装GitHub for Windows
后,我可以直接在git
中使用Powershell
命令:
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
......
但是安装了git
命令在哪里?我在C:\Program Files
或C:\Program Files (x86)
中找不到它。
答案 0 :(得分:2)
我的电脑在这里:
C:\用户\管理员\应用程序数据\本地\ GitHub的
答案 1 :(得分:0)
检查后,它应该在:
%LocalAppData%\GitHub
例如,在我的电脑中,它是:
C:\Users\xiaona\AppData\Local\GitHub\PortableGit_c2ba306e536fdf878271f7fe636a147ff37326ad\bin