Actually I couldn't wait the whole week to try git. I installed git on my work 
pc, created a sample LyX file then created a git repo using the git client (the 
LyX document resides in a folder in my OneDrive and the .git folder repo is 
within this folder). Once I do this and open the document in LyX, LyX detects 
the version control. I added few more lines and checked in the new document. I 
then go back home and installed git to see if I can continue checking in to the 
document. So I open the document with LyX, add few more lines and then check in 
and Voila! It works. I even can check out and compare revisions. Note that I 
don't interact with git anymore after I setup the repo. 
The limitation of this approach is that you have to set up the git repo before 
you can do version control on the document but I can live with that. It would 
be a neat solution, if LyX in future versions ships with git and enable the 
user to register the document in the background without the user leaving the 
program to create his own repo (basically a small script that calls git 
internally without the user having to interact with git directly). Anyway 
thanks you all so much specially Kornel for your help. I will definitely submit 
a wiki on that. 

Best Regards, 
Ahmad Abdullah

From: ahmad.abdul...@msn.com
To: kor...@lyx.org; lyx-users@lists.lyx.org
Subject: RE: RCS Version Control on Windows
Date: Tue, 28 Jun 2016 21:43:58 +0000




I will give this a trial this week and will tell you what happens. 

Best Regards, 
Ahmad Abdullah

> From: kor...@lyx.org
> To: lyx-users@lists.lyx.org
> Subject: Re: RCS Version Control on Windows
> Date: Tue, 28 Jun 2016 23:05:58 +0200
> 
> Am Dienstag, 28. Juni 2016 um 20:49:50, schrieb Ahmad Abdullah 
> <ahmad.abdul...@msn.com>
> > Are
> >  you saying that I can still check in and check out LyX documents using 
> > File/Version Control menu if I use git? I am not aware of that at all. 
> > If so, please point me to something that tells me how. I have heard 
> > about the support for git in LyX but never found something that explains
> >  the process. 
> 
> Provided you have a checkout from a git repo.
> From lyx you can open a file which is under git control.
> Then use e.g.
>       File->Version Control->Show History
>       
> > Best Regards, 
> > Ahmad Abdullah
> 
>       Kornel                                    
                                                                                
  

Reply via email to