LyX???and Git for version control
Pavel Sanda
sanda at lyx.org
Fri Jun 2 18:31:37 UTC 2023
On Thu, Mar 30, 2023 at 11:17:15AM +0200, Pavel Sanda wrote:
> On Sat, Mar 25, 2023 at 10:50:00PM -0700, Madame Michu wrote:
> > Hello there,
> >
> > I???m facing an issue with git and LyX for version control.
> >
> >
> > I followed the guidelines in section 7.2.6 in the "Additional Features" LyX
> > manual, but once the git repo is created for the document, and I???try to
> > `register` my document with LyX GUI I???get the following error:
> >
> > ```
> >
> > Some problem occurred while running the command:
> > 'ci -q -u -i -t-"First draft " "grand_écrit.lyx"'.
> > ```
>
> Indeed I see your problem and we need to either update the code or guidelines.
> Essentially the problem is that "git init" is not enough for LyX to recognize
> that the directory is under git control.
> Once the first file is added via "git add" the recognition (of not just the file
> but the whole dir) works and register command will proceed.
> I'll try to look on that once I have some free time.
I added a note about this into our manual for LyX 2.4.
Pavel
More information about the lyx-users
mailing list