Next: , Previous: , Up: Miscellaneous   [Contents][Index]


8.4 Subtree

Also see the git-subtree(1) manpage.

O     (magit-tree-popup)

This prefix command shows the following suffix commands along with the appropriate infix arguments in a popup buffer.

Most infix arguments only apply to some of the git subtree subcommands. When an argument that does not apply to the invoked command is set, then it is silently ignored.

When the --prefix argument is set in the popup buffer, then that is used. Otherwise the prefix is read in the minibuffer.

O a     (magit-subtree-add)

Add COMMIT from REPOSITORY as a new subtree at PREFIX.

O c     (magit-subtree-add-commit)

Add COMMIT as a new subtree at PREFIX.

O m     (magit-subtree-merge)

Merge COMMIT into the PREFIX subtree.

O f     (magit-subtree-pull)

Pull COMMIT from REPOSITORY into the PREFIX subtree.

O p     (magit-subtree-push)

Extract the history of the subtree PREFIX and push it to REF on REPOSITORY.

O s     (magit-subtree-split)

Extract the history of the subtree PREFIX.