Closed ysalmon closed 1 year ago
Hi, did you have a look into git submodules? I think this is better than having nested git repositories
Yes I do, but in this case they are not practical. Anyway, the problem is really about the work-tree not being a subfolder of the git repo. I will update the initial post to give a better MWE.
Thanks for the MR. If you have
Do you ignore the subfolder subfolder
then, otherwise you have to stage in both repositories?
Cordialement,
Yann Salmon
Depuis mon téléphone ; excusez la brièveté.
Ah ok I understand thanks for the clarification. I will check out your MR
Gittyup records repos by their worktree in the Recent list, which relies on the assumption that the git-dir and the work-tree are in the same path. This is not always the case.
Opening
/tmp/a
in Gittyup does display the adequate work-tree, withtest
as an untracked file.However, this gets recorded as
b
, nota
, in the Recent list. Moreover, opening the repo from that entry in the Recent list gives an error "/tmp/b does not contain a valid git repository", which is true, but irrelevant.