Many commands that are rarely used in magit are hidden by default. Magit uses the transient.el library for popups and the visibility of infix and suffix commands are controlled by
For example: At the default level (
magit-branch transient 1 hides orphan, worktree, and shelving suffix commands (levels
I want to invoke the "new orphan" command, but I don't want to persist the visibility of that command or other commands (even for the remainder of the current session).
How can I conveniently change the default transient level temporarily, so that I can invoke a hidden command once?
The two ways I know of are:
Change the transient level for the command using C-xl (
transient-set-level), invoke it, and then change it back.
(setq transient-default-level 6)), invoke the command, and change