Posts: 5,184
Joined: Jan 2009
Reputation:
131
Ok maybe I'm just to stupid to use/understand GIT but I can't figure out how to do the following:
I have made some changes to the files of Hitchers Mod (e.g. in the Includes_MediaFlags.xml) and would like the to update to the latest revision from github without loosing my changes. In SVN I just update my local copy with the files from the repository and they get automatically merged (or are marked as conflict for manual merging).
What do I need to do in GIT to get the same result? When I try "git pull" I always end up with an error telling me "Cannot merge". Is there some option I need to provide so that the files get merged or something?
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 138
Joined: Apr 2008
Reputation:
0
Montellese, I believe the issue is that you are not submitting your changes to the github repository. Git is intended to be a source management tool that multiple people use to make parallel changes and keep track of them. If you were submitting your results like a normal development project, then merging changes would be no problem. Since we are using git just to distribute data and updates, the model doesn't quite work. There is probably a way to do this, but I'm no expert.
It's kind of like modding all of the models and maps of a video game, and then wondering why running update creates errors.
[04/03/2009 04:42:13PM Agent (Prashant_190023): "You are most welcome to the best democratic countries of the world -- India"] --Dell Chat
Posts: 5,184
Joined: Jan 2009
Reputation:
131
Well I'm just used to it from Subversion so I can't really see why git wouldn't be able to do it.
Thx for the link I will check it out, maybe I can figure something out.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 138
Joined: Apr 2008
Reputation:
0
I haven't had any experience with svn yet, but were you able to make changes to local files without submitting them to the public repo and still pull down changes from the repo?
[04/03/2009 04:42:13PM Agent (Prashant_190023): "You are most welcome to the best democratic countries of the world -- India"] --Dell Chat
Posts: 5,184
Joined: Jan 2009
Reputation:
131
I use SVN every day at work and it often happens that I did some changes and before I commit them to the company's SVN I check if someone else has committed some changes affecting the files I changed as well. If that's the case I update these files and SVN auto-merges the changes (unless there's a conflict then you have to manually merge the file). I recompile the application to check if everything still works and apply some tweaks if not. Finally when everything works again I commit my stuff.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 138
Joined: Apr 2008
Reputation:
0
That makes sense. Please pardon me, as I'm not an expert in git or svn. I am sure there is a way to use git the way you are used to subversion, but the method I have here for pulling the aeon code from git hub probably does not take advantage of that functionality. I just know it works. If you do some research and find out how to better maintain custom local files while still merging in "official" changes, please let us know!
[04/03/2009 04:42:13PM Agent (Prashant_190023): "You are most welcome to the best democratic countries of the world -- India"] --Dell Chat
Posts: 138
Joined: Apr 2008
Reputation:
0
I'm not entirely certain what's wrong as the error is in German, but I would suspect that the path to the git repository is incorrect.
[04/03/2009 04:42:13PM Agent (Prashant_190023): "You are most welcome to the best democratic countries of the world -- India"] --Dell Chat
Posts: 2
Joined: Aug 2009
Reputation:
0
For some reason I cant se any writing in the program. I guess the problem is my fonts. I have put the fonts folder into the Aeon Stark folder.. Any idea why this wont work?