Next: , Previous: , Up: Forge User and Developer Manual   [Contents][Index]


2 Initial Setup

Please first do the common setup below and then carefully follow the instructions for your forge instance. Once you have completed the setup, you can start tracking repositories (see Initial Pull).

If you run into difficulties during setup or the initial pull, then please also see How Forge Detection Works and (ghub)Getting Started.

Common Setup

Loading Magit doesn’t cause Forge to be loaded automatically. Adding something like this to your init file takes care of that:

(with-eval-after-load 'magit
  (require 'forge))

Or if you use use-package:

(use-package forge
  :after magit)

By default Forge adds some bindings to Magit keymaps and menus, and some sections to Magit buffers. If you would like to prevent that, you have to set forge-add-default-bindings and/or forge-add-default-sections to nil, before magit (not just forge) is loaded.