ok/jj
1
0
Fork 0
forked from mirrors/jj

cli: describe what workspaces are in jj workspace help

This commit is contained in:
Martin von Zweigbergk 2023-10-09 07:37:36 -07:00 committed by Austin Seipp
parent 4b84d3874a
commit 4d2402831a

View file

@ -1023,6 +1023,14 @@ struct BackoutArgs {
} }
/// Commands for working with workspaces /// Commands for working with workspaces
///
/// Workspaces let you add additional working copies attached to the same repo.
/// A common use case is so you can run a slow build or test in one workspace
/// while you're continuing to write code in another workspace.
///
/// Each workspace has its own working-copy commit. When you have more than one
/// workspace attached to a repo, they are indicated by `@<workspace name>` in
/// `jj log`.
#[derive(Subcommand, Clone, Debug)] #[derive(Subcommand, Clone, Debug)]
enum WorkspaceCommands { enum WorkspaceCommands {
Add(WorkspaceAddArgs), Add(WorkspaceAddArgs),