#Github collaborative integration with unity

1 messages · Page 1 of 1 (latest)

fading river
#

Me and my friends were working on a project together and we need to collaborate and we tried using github it has conflicts when it comes to the scene data.

dusty tapir
#

That means you both edit the same stuffs in the scene that it can't merge automatically?

fading river
#

So what is the solution?

dusty tapir
#

Realistically, if you both edited the same stuffs, you have to decide whose version of scene to keep anyway.

#

Though, if you can't just keep one of them, you can open the scene file itself in Visual Studio and manually edit the values.

#

The difference should be marked with >>>>> and <<<<< iirc

fading river
#

I see

#

Yeah we saw that but the problem is the entire scene is converted to graphic codes right and there's a lot of conflicts which most of time is very confusing whether to delete it or not ......

#

What software would you use to collaborate with others and work a single project?

dusty tapir
#

GitHub is fine.
The problem is you didn't clearly define who should be working on which part first.

#

For example, a Cube is placed at (0, 0, 0)
Person A move it to (1, 0, 0)
Person B move it to (0, 0, 1)

What should the program do during merging then?

fading river
#

I see

#

We're now trying this git gui called source tree which claims to have a inbuilt unity merge tool