Back to Pull RequestsView on GitHub
#348Open
Moderate Review
Implement Clone-as-Submodule feature
by yasuo-ozu•Oct 7, 2022
Summary
This pull request modifies `ghq get` to automatically use `git submodule add` when cloning a repository into a directory that is already within another Git repository's worktree. This aims to streamline the management of ghq roots as Git repositories, for use cases like syncing local stubs.
Changes
+58 additions-9 deletions
Impact Areas
Cloning behaviorGit submodule integrationProject organization