Page 1 of 1

Need some answers about Git

Posted: Wed Dec 24, 2014 10:27 am
by sahar
Hey guys, I find it that SVN really is different from GIT in all means, therefore I think a guide here is nessasry, I only started working with l2j & git and find myself have alot of questions, so lets start:
* Which version should I checkout incase I want to use it for a live server? the stable one?
* How to check if updates were made to the stable version only? is there some kind of timeline that shows you the changes like in SVN?
* How to create a patch and actually see what files were changed and be able to select which files I want to create the patch from?
* How to revert? again see a list of files to choose from and simply reverting them.

That's all for now, looking forward for answers!
Thanks.

Re: Need some answers about Git

Posted: Wed Dec 24, 2014 12:42 pm
by UnAfraid
Right click -> Replace with -> git index to revert selected file or folder (If you select workspace will revert all changes, reset with hard is faster tho)
There is no option to select only specific files to create patch for or revert.
Create patch for entire workspace and search externalize the parts you need.

Re: Need some answers about Git

Posted: Wed Dec 24, 2014 1:41 pm
by sahar
K, so far doesn't sound to me that git is any better than SVN according to these answers... :roll:
how about:
* Which version should I checkout incase I want to use it for a live server? the stable one?
* How to check if updates were made to the stable version only? is there some kind of timeline that shows you the changes like in SVN?

Re: Need some answers about Git

Posted: Wed Dec 24, 2014 1:57 pm
by UnAfraid
sahar wrote:K, so far doesn't sound to me that git is any better than SVN according to these answers... :roll:
how about:
* Which version should I checkout incase I want to use it for a live server? the stable one?
* How to check if updates were made to the stable version only? is there some kind of timeline that shows you the changes like in SVN?
Use master for live server since we do daily fixes on it and its stable enough.
https://github.com/L2J/L2J_Server/commits/master

Re: Need some answers about Git

Posted: Wed Dec 24, 2014 2:19 pm
by sahar
Ok, thanks!
Hope i'll get used to working with it fast :)