Home

x-motemen/ghq

Status:Indexed
Analyzed 6d ago3K+ starsGo

Remote repository management made easy

Back to Pull Requests
#348Open
Moderate Review

Implement Clone-as-Submodule feature

by yasuo-ozuOct 7, 2022
View on GitHub

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