Function: forge-branch-pullreq
forge-branch-pullreq is an autoloaded, interactive and byte-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
Source Code
;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/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))))