Git for Windows和Github Desktop有什么区别? [英] What is the difference between Git for Windows and Github Desktop?
问题描述
我的问题是:使用Github for Desktop的git安装和使用Git for Windows有什么区别?为了调整我的git命令行工具,是否需要卸载当前的git和Github桌面安装?如果是这样,我应该如何继续?
是否需要卸载当前的git和Github桌面安装为了调整我的git命令行工具?
没有一个是完全独立的。
C:\ Users \ vonc\AppData\Local\GitHub\PortableGit_< sha1>
),并且不能轻易更改它:如何从Windows上的GitHub桌面更新git版本
您可以除了GitHub桌面安全地安装git-for-windows:两者都会忽略其他人。
As a programming neophyte, I have recently installed Github Desktop on Windows 10. However, upon using npm, I have discovered that some packages, like bower, require the user to install Git for Windows.
My questions are: What is the difference between using Github for Desktop's installation of git and using Git for Windows? Would it be necessary to uninstall my current git and Github Desktop installation in order to to adjust my git command-line tools? If so, how should I proceed?
Would it be necessary to uninstall my current git and Github Desktop installation in order to to adjust my git command-line tools?
No both are completely independent.
- git for Windows delivers MSys2-based Git builds (see "How are msys, msys2, and msysgit related to each other?")
- GitHub Desktop embeds a fixed (older) version of git-for-windows, in quite a complex path (
C:\Users\vonc\AppData\Local\GitHub\PortableGit_<sha1>
), and you cannot change it easily: "How to update git version from GitHub Desktop on Windows"
You can safely install git-for-windows in addition of GitHub Desktop: both will ignore each others.
这篇关于Git for Windows和Github Desktop有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!