Skip to content

v0.1.0: current human workflow

Choose a tag to compare

@EdoMon93 EdoMon93 released this 01 Oct 06:44
· 21 commits to main since this release
7fc39e1

This release preserves the existing mkwt workflow at commit 7fc39e1b01a3ddfaabc940f336f5f1ea67e51b3d. It provides a pinned installation and rollback point before the planned orchestrator features.

Everyday usage

Continue using mkwt as usual from a product repository:

mkwt fix/my-branch

The existing branch-oriented CLI, repository-local .worktrees/mkwt.conf, configured setup, and VS Code settings remain unchanged. VS Code launches follow the existing OPEN_IN_VSCODE setting and --vscode / --no-vscode overrides. Plain stdout remains the absolute worktree path, so command substitution still works:

cd "$(mkwt fix/my-branch)"

Configured setup includes symlinks, per-worktree environment files, and the optional post-create hook. First use retains the interactive setup wizard.

Install this pinned version

Clone the tag into a new directory, then install:

git clone --branch v0.1.0 --depth 1 https://github.com/EdoMon93/mkwt.git mkwt-v0.1.0
cd mkwt-v0.1.0
./setup.sh

The installer writes ~/.local/bin/mkwt. Ensure ~/.local/bin is on PATH. GitHub also provides source ZIP and tar.gz downloads for this tag.

Restore this version from an existing source checkout

Run these commands in a clean mkwt source checkout:

git fetch origin tag v0.1.0
git switch --detach v0.1.0
./setup.sh

The tag is a fixed baseline and must not be moved to future code. The source revision can be checked with git rev-parse HEAD; this baseline executable does not yet provide a --version flag.

Validation

Verified a fresh clone of the published tag resolves to the full commit above. Bash syntax checks passed, and all four existing VS Code/config tests passed against that checkout.

Planned automation work

Exact-commit creation, explicit external config, unattended operation, JSON results, safe removal, and an installed version identifier are tracked in #2. Those capabilities are not included in this baseline release.

Future automation behavior must be explicitly selected. Preserving mkwt <branch> and its configured VS Code behavior is a requirement of the next release. Automation changes will use a later version, with a prerelease for validation before the next regular release.