sle*_*vin 6 git installation github appdata github-desktop
我从这里在我的Windows 7中安装了GitHub桌面应用程序,然后重新启动了我的笔记本电脑.我转到Windows cmd并键入git clone https://github.com/myName/myAwesomeProject.git然后我就可以了'git' is not recognized as an internal or external command, operable program or batch file..
所以我用Google搜索,发现我必须从这里重新设置PATH .我去了C>Program Files (x86),那里没有Git文件夹.我不知道为什么.我在C里搜索了"Git"并在这里找到了它C:\Users\nerd\AppData\Local\GitHub\PortableGit_c2ba306e536fdf878271f7fe636a147ff37326ad,我把它复制到了我的PATH,重新启动了笔记本电脑并且克隆现在正常工作.
我的问题是,为什么Git安装在该位置而不是Program Files?我做错什么了吗?这会在未来引起问题吗?