worktrunk

max-sixty · max-sixty.worktrunk

A Git worktree manager for trunk-based development

worktrunk (wt) is a Git worktree manager designed for trunk-based development workflows. It simplifies creating, switching between, and managing Git worktrees, making it easy to work on multiple features or branches simultaneously without the overhead of stashing or switching branches in a single working directory.

winget install --id max-sixty.worktrunk --exact --source winget

Latest v0.57.0

Release Notes

Release Notes Improved

  • wt step diff --branch: wt step diff gained a -b/--branch flag, mirroring wt step commit, so the diff can target another worktree's branch without leaving the current one. The branch must have a checked-out worktree. (#2995)
  • Squash templates can use commit bodies: The squash commit-message template gains an experimental {{ commit_details }} variable — a list of { subject, body } objects for the commits being squashed — alongside the existing {{ commits }} (now documented as the commit subjects). Templates can incorporate full commit bodies, not just subject lines. (#2983, thanks @florianilch)
  • Recommended Claude Code commit command drops the CLAUDECODE= prefix: Claude Code removed the nested-session check that rejected claude -p launched from inside another session, so the workaround is gone. The recommended [commit.generation] command shown by wt config create no longer carries a leading CLAUDECODE=, and wt no longer strips CLAUDECODE from the environment before running commit-generation commands. (#2979) Fixed
  • Nushell wrapper installs where Nushell actually autoloads it: wt config shell install nu wrote wt.nu to $nu.default-config-dir/vendor/autoload, which Nushell never autoloads — on Linux the wrapper was written but silently never loaded, so wt was never wrapped (it happened to work on macOS/Windows by coincidence of path layout). It now installs to $nu.vendor-autoload-dirs | last, and install/uninstall clean up any worktrunk wrapper stranded at the old location. (#2992, thanks @nnutter for reporting)
  • Claude Code hooks work for Fish shell users: The plugin's hook commands used ${CLAUDE_PLUGIN_ROOT} brace syntax, which Fish doesn't expand; they now use $CLAUDE_PLUGIN_ROOT, so the activity and worktree-lifecycle hooks fire correctly under Fish. (#2962, thanks @amw)
  • Pager no longer wedges the terminal on Ctrl-C (Windows): Interrupting the --help pager (less) with Ctrl-C on Windows could leave the terminal in a broken state; less now quits cleanly on interrupt. (#2969, thanks @ofek for reporting)
  • Clearer error when the default branch has no commits: In a freshly initialized repo whose default branch is unborn, merge/rebase/squash/push (and the diff report) failed with Default branch main does not exist locally plus a misleading hint to reset the cached value. They now report that the branch has no commits yet, without the wrong cache-reset suggestion. (#2990)
  • diagnostic.md uploads as a gist again: The -vv diagnostic report inlined raw NUL bytes from NUL-separated git output, so gh gist create rejected it as a binary file. Control bytes in the subprocess preview are now escaped. (#2991)
  • wt list tolerates a missing index file: A repo with no /index (nothing ever staged) made the temp-index probe fail; a missing index is now treated as an empty one, matching git's own behavior. (#2884)
  • Inline code renders in --help section headings: Terminal --help showed literal backticks in headings authored with inline code (e.g. the wt config state logs heading Command log (commands.jsonl)). Headings now reduce inline code to plain text under the heading's uniform style. The --stage/--dry-run subsection headings in wt step commit/squash were also renamed to sentence case ("Staging", "Dry run"). (#3003) Documentation
  • wt switch docs give forge PR/MR URLs equal billing with pr:/mr:: The switch docs now present the full forge-URL form alongside the pr:N shortcut. (#2970)
  • New FAQ entry on moving uncommitted changes to a new worktree. (#3002) Internal
  • Bare-repo prompt opt-out stored as a hint: worktrunk.skip-bare-repo-prompt moved under the worktrunk.hints. namespace, so it now lists under wt config state hints and clears with wt config state clear (previously a top-level key that escaped both). Clean cutover: users who already opted out are re-prompted once on their next wt switch --create in a dotted-name bare repo. (#3001) Install worktrunk 0.57.0 Install prebuilt binaries via shell script curl --proto '=https' --tlsv1.2 -LsSf https://github.com/max-sixty/worktrunk/releases/download/v0.57.0/worktrunk-installer.sh | sh && wt config shell install Install prebuilt binaries via powershell script powershell -ExecutionPolicy Bypass -c "irm https://github.com/max-sixty/worktrunk/releases/download/v0.57.0/worktrunk-installer.ps1 | iex"; git-wt config shell install Install prebuilt binaries via Homebrew brew install worktrunk && wt config shell install Download worktrunk 0.57.0 ────────────────────────────────────────────────┬───────────────────┬───────────── File │Platform │Checksum ────────────────────────────────────────────────┼───────────────────┼───────────── worktrunk-aarch64-apple-darwin.tar.xz │Apple Silicon macOS│checksum ────────────────────────────────────────────────┼───────────────────┼───────────── worktrunk-x86_64-apple-darwin.tar.xz │Intel macOS │checksum ────────────────────────────────────────────────┼───────────────────┼───────────── worktrunk-x86_64-pc-windows-msvc.zip │x64 Windows │checksum ────────────────────────────────────────────────┼───────────────────┼───────────── worktrunk-aarch64-unknown-linux-musl.tar.xz │ARM64 MUSL Linux │checksum ────────────────────────────────────────────────┼───────────────────┼───────────── worktrunk-x86_64-unknown-linux-musl.tar.xz │x64 MUSL Linux │checksum ────────────────────────────────────────────────┴───────────────────┴───────────── Install via Cargo cargo install worktrunk && wt config shell install Install via Winget (Windows) winget install max-sixty.worktrunk && git-wt config shell install Install via AUR (Arch Linux) paru worktrunk-bin && wt config shell install

Installer type: zip

Architecture Scope Download SHA256
x64 Download 4352650CB3DEFE6E9E4DA613089DA32E76BC3F947462B2950AEC8BCE5FC5940D

Details

Homepage
https://github.com/max-sixty/worktrunk
License
MIT OR Apache-2.0
Publisher
max-sixty
Support
https://github.com/max-sixty/worktrunk/issues

Tags

cligitgit-worktreerustterminalworktree

Older versions (99)

v0.56.0
Architecture Scope Download SHA256
x64 Download 24D081D482A4D3F23EF686EB1CFD4F0E74CD3D4FA2D577732785181EA9B72463
v0.55.0
Architecture Scope Download SHA256
x64 Download 3D2D9BF5726448004E8B64982E5B8EDC77EEE555BFE10B7A1E3B14BFEAC64BE9
v0.54.0
Architecture Scope Download SHA256
x64 Download D71BF401232ABBDC81B2635231A7DF71249DE08BDB10DE7F2A50C7FF748B22BF
v0.53.0
Architecture Scope Download SHA256
x64 Download D33E0647D523B027E8DF9370391BFC4E696DBD2BC7E89B4CBCD1D6607445CF36
v0.52.0
Architecture Scope Download SHA256
x64 Download 15640D80678FAC8FCC1909E9FE8622EF4295929A09DC1C8CDC8CD53248880A98
v0.51.0
Architecture Scope Download SHA256
x64 Download 1F06181A4B4999651F39EF270A8CDDCFB0C81D6A886A0AE2EAA9711C7743D5FC
v0.50.0
Architecture Scope Download SHA256
x64 Download B0392619F50809D89A51B0EF7372B9820758BBE4C9A546089D6DE6DDB6DD0E3B
v0.49.0
Architecture Scope Download SHA256
x64 Download 79D706AE92A51DF75EB9014BE12D11AB1B9C4B7E5E561498D8396041C7B82F6B
v0.48.0
Architecture Scope Download SHA256
x64 Download 54B4741C8C8159D8ECDA25B4A22ADEA930DFA7EC50C7CA0A30ADB74B80220D5E
v0.47.0
Architecture Scope Download SHA256
x64 Download 9C3C7D507629C1A06085978C66C05819BC3BC77291FE9101466755A216DE8077
v0.46.1
Architecture Scope Download SHA256
x64 Download 52A58A3E2D10D50DBF69577A2F737D167440CEC6A27F97F03A85D63BAF510C2B
v0.46.0
Architecture Scope Download SHA256
x64 Download 7A97E9B89D464DC7D77731E634DEBC34B07935F2D7444831E9E9698829E682A5
v0.45.2
Architecture Scope Download SHA256
x64 Download 30B514CAD3946D459CD02E3BAFA058E8C1113ECC3C003CA5507481F3A9691C00
v0.45.1
Architecture Scope Download SHA256
x64 Download 23A718884AB4C397EDC3E25E8F6ED4903FABD093AA7A4E6702B0DF2A2831874D
v0.45.0
Architecture Scope Download SHA256
x64 Download 5AACCF21F842E8E8E5DE71AB98F548CD72A28629EA7869826A5AD94AE4C95783
v0.44.0
Architecture Scope Download SHA256
x64 Download 4E67790BB02CB690CCB42A53C2152022E959B2302FFD5F3C716C96E621B22FD6
v0.43.0
Architecture Scope Download SHA256
x64 Download 278DD7019D8D085E54582CF8D005EB8A9341F7FDDC7EDA0527CBE57A77EBA817
v0.42.0
Architecture Scope Download SHA256
x64 Download E84B9CA923A2FFB53BE8465F5DD37C82283BAE95D030C0C864C0F250BE498258
v0.41.0
Architecture Scope Download SHA256
x64 Download 9D6FD2319A36D6AC76288E4B72B91AA9D877EBBB8A567654CD7EA9D03A1F088C
v0.40.0
Architecture Scope Download SHA256
x64 Download 30A55E07707AB5E51260426E87704B78D26DE207AD74102DCC0C58FD61A71386
v0.39.0
Architecture Scope Download SHA256
x64 Download EE57D931D3E3CDD420F82E79E7B47498973BC2B026BAE76A62F617EC46A328C4
v0.38.0
Architecture Scope Download SHA256
x64 Download 2ED3AFD2AE4AC0603F83405B219D2B50C5C9605D677CC94D4286CA999DBF1612
v0.37.1
Architecture Scope Download SHA256
x64 Download 2BC6EC34A03D76AD68512688E9FF44CFCCD8FA124BC47373E453FDA78BAF16E8
v0.37.0
Architecture Scope Download SHA256
x64 Download A1898B865881345440D8EF714DCB40CBDA664A954517AF334BAFE9EF0EC8AA1F
v0.36.0
Architecture Scope Download SHA256
x64 Download 5434D445A68FCF2D5771C6DC5AA137F13E4CBA1A6174C16A15029F4F51A9A9DF
v0.35.3
Architecture Scope Download SHA256
x64 Download 9C038BBC46F52F890FF9DC17103D622E84C6FFAB161E624702C95CD853892275
v0.35.2
Architecture Scope Download SHA256
x64 Download 3D2C66A25B87B6C72595FE67A20F76BEA117FB991855613280EC81DB0FD45A7B
v0.35.1
Architecture Scope Download SHA256
x64 Download 8D97AC5DCF1AD126DF648009A5BC437B6D9D58749A0736F000BFC6CB330238D7
v0.35.0
Architecture Scope Download SHA256
x64 Download 00F5A50B10BB59F38CEA96F0CC61DBA58AEAADC722E046049E0D66F1A22F559D
v0.34.2
Architecture Scope Download SHA256
x64 Download CBEFDB4F49088A95DCEC671B6879086F52D078414E91633C92EF8A8147916A30
v0.34.1
Architecture Scope Download SHA256
x64 Download 9B8E216552B4C9894FA36CF91A1F225EC01511D5264BE79A00F6BC9D594F3B4A
v0.34.0
Architecture Scope Download SHA256
x64 Download 9AD0C8740960EA25A290718961D9E942F24C2683FF35273A13C1B6EAA1B18A91
v0.33.0
Architecture Scope Download SHA256
x64 Download 1093577AE40CF256F7646B2DAA81FBEA5CCF0542F31F74FEEC06480CD9415485
v0.32.0
Architecture Scope Download SHA256
x64 Download C66C6E335B5458BE88A357C96FEC9B4EE2ACA596DC1DFF9E70C2BBE35403FEDA
v0.31.0
Architecture Scope Download SHA256
x64 Download 35F03FB8208ED68AA65231DDF1F726D76C37BDA8323DA61FB46468EC371F8EE4
v0.30.1
Architecture Scope Download SHA256
x64 Download 8667F2B8CCF7BA0457105C09AF0ACB6962B176E53F96096D88DC428DB5490953
v0.30.0
Architecture Scope Download SHA256
x64 Download 58166B2B0C104ADE5E026C9D447A786F125F763E8D49979EEE537193F7556F04
v0.29.4
Architecture Scope Download SHA256
x64 Download 10885B58E677054E9FF867FCF9EEFDD6C6DECD0C7032B25ECC52DC5FA7559294
v0.29.3
Architecture Scope Download SHA256
x64 Download 8EFFD9AE101FD934A45B8562B0FD0463E2E7E9A020971536A35E87A62DEF2E1B
v0.29.2
Architecture Scope Download SHA256
x64 Download 0F49622EDF1409B606D08F6CD1BBF1D4F139A0DB106C6D816720C438E327B62E
v0.29.1
Architecture Scope Download SHA256
x64 Download 779D247EDBADCD31B5C4EF1E53E832876186FED96D701004B83C225D9123BF67
v0.29.0
Architecture Scope Download SHA256
x64 Download 7761E312EE30543462606805F915083C3D2E855F6BF3F773062EB9112AB6213A
v0.28.2
Architecture Scope Download SHA256
x64 Download FE68654726548EA30560518EE8168893A2D7B792CBDFBB718148AD95766883C9
v0.28.1
Architecture Scope Download SHA256
x64 Download 3320A7A3FF485C37541636BC4149F2C1123B7361C1320C355E6B8D2B769D3474
v0.28.0
Architecture Scope Download SHA256
x64 Download 8CB44BCF30B7B113A12382BD3002868657E29CA9DDF5F432BB84D28A82E0FA5F
v0.27.0
Architecture Scope Download SHA256
x64 Download FCB8345FA85C6C12B4E1BF327AF832BA8460D65F177D684FF1C39A1AA95F0B81
v0.26.1
Architecture Scope Download SHA256
x64 Download D393EFD1D965D3D13BFF52F5081D0C97A74AFB1CA3C8EF47E4D1C879F8E6B711
v0.26.0
Architecture Scope Download SHA256
x64 Download 76A39C52B51A0055CB723784E3BFF1432E20F6533A3A7886196E7B63F846031A
v0.25.0
Architecture Scope Download SHA256
x64 Download 038146BEE263A49B3CC15BE65C96FC400B8C465A85899421B5E3C0E634014BC8
v0.24.1
Architecture Scope Download SHA256
x64 Download DBAA1435AF9CCD7B3D302F534F6983DC7854AF66703B3E2C7735A7B24D0B32CF
v0.24.0
Architecture Scope Download SHA256
x64 Download 460515A71EE617789FB95ABB7083BDA79FE8BD99CB144DCD25CED36153EBA6CC
v0.23.3
Architecture Scope Download SHA256
x64 Download 40CF9944D0A27E802FEF2AD0F90BC48256AE54CFB936174109589D9838F3F3F8
v0.23.2
Architecture Scope Download SHA256
x64 Download DB9A732337BD855BF567450CC38B312A3428E19FFFB2283E7FB7E9793437E3A5
v0.23.1
Architecture Scope Download SHA256
x64 Download E9577875C4E96196BA105D927F0A1312FDB59095E07824ED7F1F813C4F6E4458
v0.23.0
Architecture Scope Download SHA256
x64 Download 98BFD7F9BEEC23C7F4D7E044A65869B65E202260402D55A3D0847EB46D920606
v0.22.0
Architecture Scope Download SHA256
x64 Download B9A7F5C027BF9B9AC0B21A31E4D6BDEBE3B3C193170CA6A5FAA6AA91F1C791E6
v0.21.0
Architecture Scope Download SHA256
x64 Download 6D2BA343879CAA4D196A657C9AE53691E1D2740B5B6E62A0E08058955A50578D
v0.20.3
Architecture Scope Download SHA256
x64 Download CCA65CEDB3F7F2E8B33BD4B65A200336C3B4679415872697007C118A0A26C4E0
v0.20.2
Architecture Scope Download SHA256
x64 Download 3ABB4C5A6A30B6A3E78F5D79E99ED811D06C911AAB24EC529F08490A1FE27C18
v0.20.1
Architecture Scope Download SHA256
x64 Download EDD48775E18B5087138AF987DAA667C2482142D585490176ACEA396BB45B5CCF
v0.20.0
Architecture Scope Download SHA256
x64 Download B7988FDF636540D25061CA8CE74D1D6EE3BAACE57AE21077E9180CA9E0C7459F
v0.19.0
Architecture Scope Download SHA256
x64 Download 888247185DFB38448275EB072421BC0F2F4828184994BEFAAB2A24AB2A838308
v0.18.2
Architecture Scope Download SHA256
x64 Download 0CA0D0133A55DD584F7A309C3425BAF6DC748EB5373AAA9CE5133AC8175C1142
v0.18.1
Architecture Scope Download SHA256
x64 Download 37803531F6028E25617B5FBF31E4CEB25D795B27A258E1D79D8FE72EDA5DDFCF
v0.18.0
Architecture Scope Download SHA256
x64 Download 59CD8BBB93E470B7FF3846BAB74C8C901687685FF1F2D32D084D3419FA8C0BC7
v0.17.0
Architecture Scope Download SHA256
x64 Download 1D4CE38DE691AB75530CCA87AF1316D20EDC3A0086E4E01FC4512A9401B4674D
v0.16.0
Architecture Scope Download SHA256
x64 Download 89648F3C50E754F1222E36C852A8CA31C38B19930701BA8599469D91BEBCF059
v0.15.5
Architecture Scope Download SHA256
x64 Download 460BE4BB222E1AC0A0BA41D8F5A337E39697666CE3FA0EC716A0F0385ABB4068
v0.15.4
Architecture Scope Download SHA256
x64 Download 3034B6C0958A0F9F58C90C13B4AF68B0FD9AF312BC20C4E412DDACEFD08EB4CD
v0.15.3
Architecture Scope Download SHA256
x64 Download A427DB19FDA4811FFED96E91EC8101F566AE82BC58156326E54F935BC00D7D71
v0.15.2
Architecture Scope Download SHA256
x64 Download 688DCBB16EAF2683470505EBCEBDD72E9906CC257EF822C198BEC680F187F635
v0.15.1
Architecture Scope Download SHA256
x64 Download AA29555A8D18FAAEAA8041CBE2D251D43DF14BD6005C2C323AE6A5BB7EF59872
v0.15.0
Architecture Scope Download SHA256
x64 Download 4765CB5833406DF80821D6D0F2DACA4746A52603EF750ECB94711016E1D2E732
v0.14.2
Architecture Scope Download SHA256
x64 Download 68BAC63D9716F2846379EE88E3AB8AAA02AE2BF20572230B25E34839F9CD4857
v0.14.1
Architecture Scope Download SHA256
x64 Download 27D21CB998150BC49EB0BDCA5C39C055AB1CC8700050493CED26A484871378B2
v0.14.0
Architecture Scope Download SHA256
x64 Download 876B574422D306C8BBF91594B10C03C42BC9BAA64242BC4BC3D1B9EC73B6F1A3
v0.13.4
Architecture Scope Download SHA256
x64 Download 7ADBD17F794E506572B8D5497F5216C0772C058649A2E370C88145BB434A341E
v0.13.2
Architecture Scope Download SHA256
x64 Download 6D6703C513D0D9980450AC4F5BC26C235C1808E51AC89E72412C9728015D8CBE
v0.13.1
Architecture Scope Download SHA256
x64 Download AB83AEED65F24BA76494B3C1ED099F6F3F2B772CD7BCC5B86CF7AFD7E05E6BBE
v0.13.0
Architecture Scope Download SHA256
x64 Download 1C0B097D25323BC216E2457ED121F2576831F2367DD267814B6DD8FF96B87573
v0.12.0
Architecture Scope Download SHA256
x64 Download 73F5DABE030D30C44E6B1CCFAF89BA8750399E3D997B428A54F1015824744348
v0.11.0
Architecture Scope Download SHA256
x64 Download B1E9B676AFBE602C6A5DA8BB7D56C95B64ACA90B626F86041E2328C955D6FB0A
v0.10.0
Architecture Scope Download SHA256
x64 Download 8CBCFC131C4CAC5D7004D0B41064D67444C035A46C8D41577FF0BACA4C6FA540
v0.9.5
Architecture Scope Download SHA256
x64 Download B2C5911A56B43A5E96F90249AAE0F37EEF37F429A379C267F7B9AF24A105C11A
v0.9.4
Architecture Scope Download SHA256
x64 Download 6B9F56DE80236432A31255E621993257D9D2F1E86B03472377C19FF758F17F49
v0.9.3
Architecture Scope Download SHA256
x64 Download B6B740D22C91FCC52215898C7101B42EE0BC948C9C7C007AFDBFFCDC20487BB0
v0.9.2
Architecture Scope Download SHA256
x64 Download 8D4C2ED16D6410CA55BD1317BBFEE9EA486BB3A142C8DB52AF9B427BB94657C3
v0.9.1
Architecture Scope Download SHA256
x64 Download DB7160F54177BD3A25007E4CB104A79D60F45809A384D5C16220FD3B58C5FDE1
v0.9.0
Architecture Scope Download SHA256
x64 Download 1F3FC58A3E4706C395E7918614D7F788D5CF1233285F9C5B9029AEA1EA009403
v0.8.5
Architecture Scope Download SHA256
x64 Download 712A402D3C6E719F62AED67E630754C3B45CCC01C34A66FD9FEF70D5EF104F22
v0.8.4
Architecture Scope Download SHA256
x64 Download 81274C119FAF5B15FB6349EBD4F2DDB4DD4A9AE7993B9D7FE91B5FADDF34CCAE
v0.8.3
Architecture Scope Download SHA256
x64 Download AC39CB749D58770EAAD7C9F74CFA7721C44956124E832CB2BB776ED64F0B2FBF
v0.8.1
Architecture Scope Download SHA256
x64 Download 83413D5A2DFC6DCD304DB5ED53AAB4FB2AAE387570754A39B5055F39C6A0E64D
v0.7.0
Architecture Scope Download SHA256
x64 Download 80A111959A87A60A388E027DDF5B27198F093FF5CDFCBE08FDD261A0C0EC5DD1
v0.6.1
Architecture Scope Download SHA256
x64 Download 0161E6B7EEDDE8B2F028D6D70C0B29E744CDDA26716E89EAEDC5A1858BAC241E
v0.6.0
Architecture Scope Download SHA256
x64 Download 999B7D3CE6D0609394135B916B36285A3C7A13232CF0834E1EFFF3063182E703
v0.5.2
Architecture Scope Download SHA256
x64 Download 373A4CADCF4C3E03AD67BDB8CC95C83B8579681A9960B098205CA67A6867A8A8
v0.5.1
Architecture Scope Download SHA256
x64 Download 101F4B5C663D13810889C8A042B11583EAEA5075B92BC8F7BB19864AA087AF38
0.5.0
Architecture Scope Download SHA256
x64 Download 3188C8464234EC4BE89D773353170479C55708BBEF8BB977184DD7B8B5EC0609