[GNC-dev] archive of GnuCash
geert.gnucash at kobaltwit.be
Sat Jan 11 15:25:19 EST 2020
Op woensdag 13 november 2019 18:54:50 CET schreef Stephen M. Butler:
> On 11/13/19 9:40 AM, Geert Janssens wrote:
> > Op woensdag 13 november 2019 17:39:41 CET schreef Stephen M. Butler:
> >> On 11/13/19 5:13 AM, Geert Janssens wrote:
> >>> Op woensdag 13 november 2019 05:28:30 CET schreef Stephen M. Butler:
> >>>> git worktree add ../v3.7 3.7
> >>> Assuming you're in maint that does indeed add an additional worktree.
> >> Figured that I might end up destroying that by accident and being able
> >> to recreate locally is a whole lot faster than cloning from github!
> >> Then again, I might be making this too complicated for myself. We'll
> >> see over time if this was a good idea or a bad one (for me).
> > For the record, I'm a heavy user of worktrees myself. The only change
> > compared to your setup is that I have chosen to clone a bare repo and tie
> > my worktrees to that bare repo. That way I can even have a worktree for
> > the maint branch.
> Can you explain more what you mean by a bare repo?
It's a repo that you create with
git clone --bare <orig-repo>
It differs from an ordinary repo that it doesn't have its own working
directory and only holds the contents of what would be in the .git
subdirectory or an ordinary repo.
More information about the gnucash-devel