git-prole-convert(1)
π git-prole-convert(1) β the one where we turn your repo into a worktree checkout
okay so bestie, this page lives in the General Commands Manual and it's called git-prole-convert π β say hi to the manual, she's here to help you glow up your repo situation. let's get into it β¨
πΈ NAME πΈ
git-prole-convert β convert a repository into a worktree checkout π¦
β¨ SYNOPSIS β¨
git-prole convert [--default-branch] [--log] [--dry-run] [--config]
[-h|--help] [DESTINATION]
literally just that. drop it in and let her cook π₯
π DESCRIPTION π
Convert a repository into a worktree checkout. that's the whole vibe π
so here's the tea β this will convert the repository in the current directory into a worktree repository. and "convert" here is doing a lot of heavy lifting, so let me break down exactly what that includes, no cap:
- Making the repository a bare repository.
- Converting the current checkout (branch, commit, whatever it happens to be) into a worktree. Uncommited changes will be kept, but will not remain unstaged π β yes that means what you think it means, heads up.
- Creating a new worktree for the default branch.
it's giving main character energy for your repo directory. iconic behavior fr fr π
π OPTIONS π
--default-branch=DEFAULT_BRANCHβ a default branch to create a worktree for π±--log=LOG[default:info] β log filter directives, of the form`target[span{field=value}]=level`, where all components except the level are optional πͺ΅ β try`debug`or`trace`if you're nosy like me π. May also be specified with theGIT_PROLE_LOGenvironment variable.--dry-runβ if set, do not perform any actions, and instead only construct and print a plan π β not me doing a vibe check before committing to anything, bestie this is self care πββοΈ--config=CONFIGβ the location to read the configuration file from. Defaults to~/.config/git-prole/config.tomlπ-h,--helpβ print help (see a summary with'-h') πββοΈ[DESTINATION]β the directory to place the worktrees into π¦
lowkey important: --dry-run means nothing actually happens, it just constructs and prints a plan. so don't come for me when your repo is still exactly the same afterwards π
π¦ SEE ALSO π¦
(there's no SEE ALSO section on this page β she's the standalone queen she is π )
well ok not technically a section but like, this page doesn't have one, so we're just gonna vibe π«Ά
huge thanks to the git-prole girlies β this one's sourced from convert, filed under git-prole-convert(1), version + date included in the header up at the top because apparently that's where it lives now π go forth and worktree, bestie. periodt πβπ
π¦ where this page comes from
- nixos 26.05: git-prole 0.5.3
- nixpkgs unstable: git-prole 0.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms