D
D
dieillusion2016-01-29 10:20:09
Java
dieillusion, 2016-01-29 10:20:09

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

5 answer(s)
A
Anatoly Medvedev, 2016-01-29
@balamyt92

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.

S
sim3x, 2016-01-29
@sim3x

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

A
Armenian Radio, 2016-01-29
@gbg

Huge selection of .gitignore for all occasions

K
Konstantin Malyarov, 2016-01-29
@Konstantin18ko

There is another option, like mine. The drive is connected to the router. And I place all projects there.

T
Talik, 2016-01-29
@Talik0507

I use google drive.
Both computers run Google Drive under their account. The project is created in the google drive folder.
When you change the project on one machine, the files are automatically synchronized.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question