What is your way to switch development between computers?

Answered

I mean the case you want to develop the same project switching between, say, workstation and laptop at the case you can not use external sync point (sever).

 

I have thought about (and am going to try) just synchronizing project dirs including .git/, .idea/ and *.iml  but excluding target/ and such with, say, SyncThing or similar tool (and, probably it is a good idea to use the same project root dir on both filesystems for such sync).

 

But what is your way?

 

P.S. Linux is used everywhere if it does matter.

3 comments
Comment actions Permalink

Hello Andrew,

If there is no external server then there is only one way - copy full project folder (excluding output and generated files/folders) from one machine to another.

0
Comment actions Permalink

Yaroslav, hi!

 

Yes, I have mentioned just this way you are saying about (SyncThing replicates folders directly p2p). Just want to be sure such sync is legal (valid, correct) from the IDE perspective. That is to be sure an IDE project dir is completely self-contained.

0
Comment actions Permalink

Andrew,

Yes, project folder sync is legal.

1

Please sign in to leave a comment.