Need some answers about Git

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

Need some answers about Git

Post 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.
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Need some answers about Git

Post 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.
Image
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

Re: Need some answers about Git

Post 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?
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Need some answers about Git

Post 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
Image
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

Re: Need some answers about Git

Post by sahar »

Ok, thanks!
Hope i'll get used to working with it fast :)
Post Reply