安装后的git命令在哪里;适用于Windows的GitHub;?
在安装Windows的GitHub之后,我可以直接在Powershell中使用安装后的git命令在哪里;适用于Windows的GitHub;?,windows,git,powershell,github,github-for-windows,Windows,Git,Powershell,Github,Github For Windows,在安装Windows的GitHub之后,我可以直接在Powershell中使用git命令: 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|-
git
命令:
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
......
C:\Users\xiaona\Documents\GitHub>git
用法:git[--version][--help][-C][-C name=value]
[--exec path[=][--html path][--man path][--info path]
[-p |--paginate |--无寻呼机][--无替换对象][--bare]
[--git dir=][--work tree=][--namespace=]
[]
最常用的git命令有:
将文件内容添加到索引
对分通过二进制搜索查找引入错误的更改
......
但是git
命令安装在哪里?我在我的电脑中的C:\Program Files
或C:\Program Files(x86)
中找不到它,它在这里:
C:\Users\Administrator\AppData\Local\GitHub检查后,它应该位于:
%LocalAppData%\GitHub
例如,在我的电脑中,它是:
C:\Users\xiaona\AppData\Local\GitHub\PortableGit_c2ba306e536fdf878271f7fe636a147ff37326ad\bin
在我的电脑中,它是:C:\Users\xiaona\AppData\Local\GitHub\PortableGit_c2ba306e536fdf878271f7fe636a147ff37326ad\bin