← 插件

Workspace defaults

Colin Armstrong2次安装

Start new worktrees from the primary branch and remember checkout preferences for each project.

$ paseo plugin add seearms/workspace-defaults
Workspace defaults 截图 1Workspace defaults 截图 2

该插件的概览尚未翻译为你的语言,因此以英文显示。

Open New workspace and choose a Git project. The form selects New worktree and branches off the project's primary branch. If you prefer Project directory or a different base branch for a project, change the native picker. Paseo remembers that choice the next time you open the form for that project.

The plugin looks for main or master in the Git refs already on the host. If both exist, it follows the remote's declared default when that default is one of the two. It prefers a remote-tracking ref when available and supports repositories with only local branches. It can also use a remote's declared default with a different name. If neither a primary branch nor a saved branch is available, you can choose the base in Paseo. Plain folders open in Project directory mode.

Requires Paseo 0.18.2 or later, plugins enabled on the host, and Git on the host's command path.

The plugin reads Git refs using local Git commands and stores preferences by project in the daemon's home directory. The plugin makes no network requests and sends no data to agent providers. Pull request choices and new branch names apply to the current draft. If you select an existing linked worktree, the saved mode reopens the project directory.