安装 git 命令后在哪里"GitHub for Windows"?



安装GitHub for Windows后,我可以直接在Powershell中使用git命令:

C:UsersxiaonaDocumentsGitHub> 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 FilesC:Program Files (x86)中找不到它.

在我的电脑里在这里:

C:\Users\Administrator\AppData\Local\GitHub

检查后,它应该在:

%LocalAppData%GitHub

例如,在我的PC中,它是:

C:UsersxiaonaAppDataLocalGitHubPortableGit_c2ba306e536fdf878271f7fe636a147ff37326adbin

最新更新