Answer the question
In order to leave comments, you need to log in
How to develop from two computers with different OS?
Given: my two computers with Mac OS and Windows 7.
There is a task: to organize the joint development of an application in intellij idea (java), since I can sit at one or another machine.
I am a beginner developer and therefore immediately got into Google, in which everyone advises Git. I downloaded the client, configured it in the IDE, cloned the repository, but when compiling, they swear at the .idea folder (in particular, at the compiler.xml file).
Has anyone encountered this problem and can offer some advice? (apparently the problem is the difference between the OS on which development is underway). On Windows it compiles, on Mac it doesn't.
Answer the question
In order to leave comments, you need to log in
I understand this is a folder with files that this IDE creates for itself. Add a daddy to gitignore https://git-scm.com/docs/gitignore
And the development is simple, you work commit, finished working at the computer and then git push origin filled in the rep, then sat down at another computer did git fetch (checked the update) , then everyone will tell you how to download the update.
the .idea/ folder should be added to .gitignore or read which files you can rummage through
Joint development should be carried out on the platform on which the software will work
. Put ubuntu / debian / redhat on both PCs in the form of a vagrant or just a virtual machine and collect everything there
There is another option, like mine. The drive is connected to the router. And I place all projects there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question