Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have two machines (one is a mac one is a pc), and I develop on both machines but only run "production" on the pc.

Now, I sometimes face an issue where both machine PC and machine MAC have different versions of the same code, and I would like them to share a common source.

I know this solution must exist but I have no ideat what it is called/how to start.

Could someone please point me in the right direction?

share|improve this question
add comment

2 Answers

I would suggest (works for me) to get a git server (say either git or private git) and synchronize repositories with server.

Not only you get extra security, so your files are stored in 3 places, also you have a nice version management system at hand.

share|improve this answer
    
+1. git or some similar sort of source control is the solution here. Don't do file sharing. Use source control, whether it's git or something else. –  ChrisInEdmonton Oct 23 '13 at 21:47
add comment

Can you share out the code location (standard windows file share) and access that from your Mac? If you can, that would be the simplest solution, since you can edit/compile/test your code on the Mac and then do your final builds on the PC.

If you're curious about ensuring version control and checking old code, do some googling on 'source control' and SVN/Git/CVS.

Hope that points you in the right direction

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.