Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to specify reference repository #14

Open
Vampire opened this issue Nov 25, 2021 · 0 comments
Open

Ability to specify reference repository #14

Vampire opened this issue Nov 25, 2021 · 0 comments

Comments

@Vampire
Copy link
Contributor

Vampire commented Nov 25, 2021

If you have a clone of a repository locally, you can currently use local.git.foo to use that current worktree instead, ignoring configured branch or tag.
It would be nice to have an alternative possibility like local.gitreference.foo or similar, that would then be used for the --reference option of git-clone, so that the object store of that local repository can be reused while still using the configured branch or tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant