About Store Forum Documentation Contact



Post Reply 
The best way to work with Git
Author Message
tipforeveryone Offline
Member

Post: #1
The best way to work with Git
I am using Git on my project (e.g: #aoa!#r01sdfa0101/.git) about 2 years.

Making commit on every important changes, sure that there are a bunch of random generated files which I put in staged list, some of them are .cpp files. I can recognize them by clicking and checking diff on those files, and it still shows diffirent code.

When I dev my game alone, it is ok to Stage all files which changed/added/removed, I dont really care and just make a commit. But problem shows up when my friend join me. We can't determine which file is map related files or assets.. it is really hard to cooperate.

Even with .cpp files, it take time to look into file code to know which file is the file I need to merge, because of its generated name instead of "MyCode.cpp"

So that I really want to know which is the best way to work with git, for cooperative coding, map building etc

Any better suggestion than using .git in project folder ?
01-19-2022 10:31 AM
Find all posts by this user Quote this message in a reply
tipforeveryone Offline
Member

Post: #2
RE: The best way to work with Git
Maybe I just want to know How to make game together with EE, anyone have any idea?
01-25-2022 12:34 AM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #3
RE: The best way to work with Git
Some experience i have had over the years :
SVN - old system, not really relevant today, i do use it when i want to save base code instead of EE project
EE Sync - works well but has quirks, need the host to be on to run it ? Else it will desync ?
Git suit - not directly in EE but most commonly used. Most reliable if set-up well. Takes times to get used to
I wouldn't do the whole EE with engine unless you run custom engine.
I would suggest trying both EE sync with git suit together as it might be the best of both worlds, having direct changes and git as back ups
(This post was last modified: 01-25-2022 02:35 AM by RedcrowProd.)
01-25-2022 02:29 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: The best way to work with Git
I recommend using github for codes only ("code" folder inside the project folder)
And for everything else use Esenthel Server app sync.
01-25-2022 02:36 AM
Find all posts by this user Quote this message in a reply
tipforeveryone Offline
Member

Post: #5
RE: The best way to work with Git
Can you guys talk more about Esenthel (Titan) Server app sync ? how can I use it ? I can't find it anywhere
03-21-2022 01:29 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #6
RE: The best way to work with Git
Hi, the docs are here - https://esenthel.com/?id=doc#Collaborative_Development
When using source edition, you have to compile the Titan Server manually from the Editor.
1. Open Titan Editor, point the projects path over here:
https://github.com/Esenthel/EsenthelEngi...r%20Source
2. Open "Editor" project
3. Select "Titan Server" app to be active
4. Select Publish
5. Put the generated "Titan Server" folder somewhere you want, outside of the "_Publish_" folder
03-21-2022 07:04 AM
Find all posts by this user Quote this message in a reply
Post Reply