Skip to main content

Module checkout

Module checkout 

Source
Expand description

mkit checkout <branch> — switch HEAD to a branch and materialise the branch tip’s tree into the working directory.

The file-restoration half calls mkit_core::ops::restore::restore_tree_to_worktree, which respects .mkitignore and rejects symlinks that would escape the repo root.

Functions§

run