2

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.

Steven Chen
  • 397
  • 1
  • 6
  • 19

1 Answers1

1

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:

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Thanks but just to clarify something - should I have two different path for my local repository or should I just make it the same path? – Steven Chen Dec 16 '12 at 19:40
  • @StevenChen no, each local repo can be anywhere you want on each local machine. – VonC Dec 16 '12 at 20:25