- 我們可以爲Git指定另一個安裝文件夾嗎?
嘗試以管理員身份運行安裝程序,以便它可以安裝到Program Files。我不知道如何指定自定義路徑。
- 在GIT中DIR/bin中,有沒有ssh.exe,而在OpenSSH的選擇對話框,它告訴我 「這使用ssh.exe附帶GIT中」。那麼,它在哪裏,內置的SSH客戶端?
一些挖掘告訴我,它可能生活在Git的安裝.ssh
文件夾內,這樣C:\Users\MyPC\AppData\Local\Programs\Git\.ssh
- 我懷疑,現在的Windows 10不接受%USERPROFILE%/ AppData上安裝的任何外部程序以包含在系統路徑中。這是對的嗎?
AFAIK您可以添加任何目錄到您的路徑。
- 如何讓Windows「看」Git?
添加C:\Users\MyPC\AppData\Local\Programs\Git
到您的路徑:
Start the System Control Panel applet (Start - Settings - Control Panel - System).
Select the Advanced tab.
Click the Environment Variables button.
Under System Variables, select Path, then click Edit.
You'll see a list of folders, as this example for my system shows: C:\Program Files\Windows Resource Kits\Tools\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Support Tools\;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\Ulead Systems\MPEG;C:\Program Files\Intel\DMIX;C:\Program Files\Executive Software\Diskeeper\;C:\Program Files\Bonjour\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Misc
You can add additional folders that you want to include in searches. I add a "C:\program files\misc" entry into which I place my standalone utilities, instead of copying them into C:\windows. Click OK.
You'll need to restart the processes (e.g., command prompt) that use the system path to see the added folders.
從http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path
確保git.exe是您添加到您的路徑 –
的文件夾中我有同樣的問題,以更新後的git用於Windows 10上的windows 2.6.3。 ''''git'''安裝在'''C:\ Users \ MyPC \ AppData \ Local \ Programs \ Git'''而不是 '''C:\ Program文件\ Git'''。
– Etienne問題是混帳仍試圖訪問裏面的東西'''C:\ Program Files文件\ Git'''文件夾: