git donkey-template

Updated Jul 13, 2026

Display and create the template directory for the current repository. Template files placed in this directory are automatically copied to new worktrees created by git donkey.

# Display template directory path (creates directory if needed)

git donkey-template

The command must be run from within a Git repository. It creates the template directory if it doesn't exist and displays its path. The template directory is specific to the repository's remote URL, so different repositories (or repositories with different remote URLs) have separate template directories. If multiple remotes are configured and none is named origin, the command exits with an error; rename a remote to origin or remove the extra remotes to resolve the ambiguity.