如何在Parallels中运行Windows 8的Mac上设置Git [英] How to setup Git on a Mac with Windows 8 running in Parallels

查看:129
本文介绍了如何在Parallels中运行Windows 8的Mac上设置Git的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想知道在Macbook Pro上安装Git的最佳方式是什么?OS X Mountain Lion 10.8与Windows 8 Pro在Parallels?不太确定什么是最好的工作流程。我应该在两个平台上安装Git还是应该将所有文件存储在一个平台上并在其上安装Git?



我之所以问这个问题是因为我打算在Windows上使用Visual Studio进行学校项目,并使用Sublime Text / XCode来开发Web开发和iOS应用程序。



谢谢。

$ b $最好的做法是在两个工作站上安装Git,每个工作站都有一个完整的repo。

理想情况下,您会从无论是工作站,还是GitHub的git repo托管服务。



这样:


  • 您可以在每台计算机上获得完整的回购(包含所有文件的完整历史记录)

  • 即使没有网络,您也可以在其中任何一台上运行

  • 您可以将您的工作保存在云端上



问题可以在设置中进行。

请参阅: p>


I'm wondering what is the best way to setup Git on a Macbook Pro both OS X Mountain Lion 10.8 with Windows 8 Pro in Parallels?

I'm not too sure what is the best work flow. Should I be installing Git on both platforms or should I have all my files stored on one platform and install Git just on that?

The reason why I'm asking is because I intend to use Visual Studio on Windows for school projects and use Sublime Text/XCode to work on web development and iOS apps.

Thanks.

解决方案

The best practice is to install Git on both workstations, each of them with a full repo.
Ideally, you would push from either workstation to a git repo hosting service like GitHub.

That way:

  • you get the full repo (with the full history for all files) on each computer
  • you can work on either one of them even without network
  • you can save your work on the cloud

The issue can be around setting.
See:

这篇关于如何在Parallels中运行Windows 8的Mac上设置Git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆