Function: forge-branch-pullreq
forge-branch-pullreq is an interactive and natively compiled function
defined in forge-commands.el.
Signature
(forge-branch-pullreq PULLREQ)
Documentation
Create and configure a new branch from a pull-request.
Please see the manual for more information.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/923zwib42c4qw6x4xps0cv1wi8qcd6lp-emacs-packages-deps/share/emacs/site-lisp/elpa/forge-20261005.753/forge-commands.el
;;; Branch
;;;###autoload
(defun forge-branch-pullreq (pullreq)
"Create and configure a new branch from a pull-request.
Please see the manual for more information."
(interactive (list (forge-read-pullreq "Branch pull request")))
(let ((pullreq (forge-get-pullreq pullreq)))
(if-let ((branch (forge--pullreq-branch-active pullreq)))
(prog1 branch
(message "Branch %S already exists and is configured" branch))
(forge--branch-pullreq pullreq)
(forge-refresh-buffer))))