Function: forge-checkout-pullreq

forge-checkout-pullreq is an autoloaded, interactive and byte-compiled function defined in forge-commands.el.

Signature

(forge-checkout-pullreq PULLREQ)

Documentation

Create, configure and checkout 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
;;;###autoload
(defun forge-checkout-pullreq (pullreq)
  "Create, configure and checkout a new branch from a pull-request.
Please see the manual for more information."
  (interactive (list (forge-read-pullreq "Checkout pull request")))
  (magit--checkout (forge--branch-pullreq (forge-get-pullreq pullreq)))
  (forge-refresh-buffer))