Work with git on Windows 7 machine [duplicate]

痞子三分冷 提交于 2020-01-07 02:18:09

问题


I have a Windows 7 machine, and I want to install git on it in order to do Rails development.

I've heard that it's better to work with git on Linux, so I installed Ubuntu. The problem with Ubuntu is that I have to restart the computer each time I want to switch between Windows and Linux.

Is that possible to run Ubuntu as Windows application (like any other program) ?

Could you recomend any other options ?

I want it to be installed on the hard drive rather than USB stick or something else.


回答1:


Yes its possible. You can install Ubuntu on a virtual machine such as Vmware Workstation or Paralels Desktop or VirtualBox(free). The you can use it almost like an application. Or use msygit




回答2:


msysgit on Windows is the standard for using Git on Windows, and now, it is almost as good as running git on Linux. For the learning phase, especially if you are moving from SVN and TortoiseSVN, use TortoiseGit. But git is best used ( and enjoyed!) from the command line. So try to use the command line and understand the git concepts.




回答3:


Well, TortoiseGit has been working fine for me. It's a native Windows application, adding Git features to the Windows Explorer's context menu: https://tortoisegit.org/

Apart from the Windows app (if you want to keep running your 'nux stuff), VirtualBox offers something called the "seamless mode" which enables you to use programs running on your virtual machine kind of seamlessly on your native desktop without the hassle of the other OS around it.



来源:https://stackoverflow.com/questions/7821150/work-with-git-on-windows-7-machine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!