• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] how to update the source without affecting the modified files?

Status
Not open for further replies.

DndTheTroll

Respected Member
Hello, as you see that topic is clear from it's title I want to update my core but without affecting/replacing my modified files can someone tell me how?


+rep
 

Tommy

Founder
You can do a pull, then merge and edit out the difference. Your edits would have to be saved in a commit though.
 

Rochet2

Moderator / Eluna Dev
You could for example try using:
git add .
git diff head >> mychanges.diff
to save your changes just incase something goes wrong.
Also take up the commit you are on at the moment for example from the server startup or .server info or with git log command in git.

Then try pulling again. so git pull
Use the SQL files generated to the update folders to your DB (only the new SQLs, see created date for example)
recompile, fix compile errors.
 
Status
Not open for further replies.
Top