Home

x-motemen/ghq

Status:Indexed
Analyzed 6d ago3K+ starsGo

Remote repository management made easy

Back to Pull Requests
#429Open
Moderate Review

feat: add --worktree flag for bare clone with worktree

by DrumRobotDec 14, 2025
View on GitHub

Summary

This PR introduces a new `--worktree` flag to `ghq get`. It allows users to create a bare Git repository in the ghq root directory while simultaneously establishing a worktree at a specified path, enabling better integration with file synchronization tools.

Changes

+187 additions-4 deletions

Impact Areas

Repository managementCommand-line interfaceGit integration