cli: clarify jj branch forget help

Closes #532.
This commit is contained in:
Martin von Zweigbergk 2022-10-09 17:55:38 -07:00 committed by Martin von Zweigbergk
parent c292cd8cff
commit a5f7e09cbb

View file

@ -697,8 +697,11 @@ enum BranchSubcommand {
names: Vec<String>, names: Vec<String>,
}, },
/// Delete the local version of an existing branch, without propagating the /// Forget everything about a branch, including its local and remote
/// deletion to remotes. /// targets.
///
/// A forgotten branch will not impact remotes on future pushes. It will be
/// recreated on future pulls if it still exists in the remote.
#[command(visible_alias("f"))] #[command(visible_alias("f"))]
Forget { Forget {
/// The branches to delete. /// The branches to delete.