2015-06-17 48 views
0

安裝GitHub for Windows後,我可以在Powershell直接使用git命令:安裝「GitHub for Windows」後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 
...... 

但安裝git命令在哪裏?我無法在C:\Program FilesC:\Program Files (x86)中找到它。

回答

0

檢查後,應在:

%LocalAppData%\GitHub 

例如,在我的電腦,它是:

C:\Users\xiaona\AppData\Local\GitHub\PortableGit_c2ba306e536fdf878271f7fe636a147ff37326ad\bin 
2

在我的電腦是在這裏:

C:\用戶\管理\應用程序數據\本地\ GitHub的

+0

在我的電腦,它是:C:\用戶\小娜\應用程序數據\本地\ GitHub的\ PortableGit_c2ba306e536fdf878271f7fe636a147ff3732 6AD \ bin中。 –