Next: Worktree, Previous: Submodules, Up: Miscellaneous [Contents][Index]
Also see the git-subtree(1) manpage.
magit-subtree
) ¶This transient prefix command binds the two sub-transients; one for importing a subtree and one for exporting a subtree.
magit-subtree-import
) ¶This transient prefix command binds the following suffix commands along with the appropriate infix arguments and displays them in a temporary buffer until a suffix is invoked.
The suffixes of this command import subtrees.
If the --prefix
argument is set, then the suffix commands use that
prefix without prompting the user. If it is unset, then they read
the prefix in the minibuffer.
magit-subtree-add
) ¶This command adds COMMIT from REPOSITORY as a new subtree at PREFIX.
magit-subtree-add-commit
) ¶This command add COMMIT as a new subtree at PREFIX.
magit-subtree-merge
) ¶This command merges COMMIT into the PREFIX subtree.
magit-subtree-pull
) ¶This command pulls COMMIT from REPOSITORY into the PREFIX subtree.
magit-subtree-export
) ¶This transient prefix command binds the following suffix commands along with the appropriate infix arguments and displays them in a temporary buffer until a suffix is invoked.
The suffixes of this command export subtrees.
If the --prefix
argument is set, then the suffix commands use that
prefix without prompting the user. If it is unset, then they read
the prefix in the minibuffer.
magit-subtree-push
) ¶This command extract the history of the subtree PREFIX and pushes it to REF on REPOSITORY.
magit-subtree-split
) ¶This command extracts the history of the subtree PREFIX.
Next: Worktree, Previous: Submodules, Up: Miscellaneous [Contents][Index]