Reading through Magits documentation there seems to be full support for github through Ghub.

I am having trouble replicating the set up for gitlab, it is a supported forge but does not have Ghub support.

Does anyone have a guide for set up?

  • (Caveat: This is from just a cursory glance.) It looks like forge-github requires ghub and forge-gitlab requires glab (which is part of the ghub ELPA package). Perhaps you just need to be doing "glab" things instead of "ghub" things?
    – phils
    Feb 10, 2020 at 21:48
  • glab.el says "This library is implemented on top of Ghub. Unlike Ghub, Glab does not support the guided creation of tokens because Gitlab lacks the features that would be necessary to implement that. Users have to create tokens through the web interface."
    – phils
    Feb 10, 2020 at 21:49

1 Answer 1


Forge is documented in the Forge manual, not in the Magit manual.

At Supported Forges you can see that Gitlab is supported but that there are some limitations. One of these limitations is that you have to manually create and store a token, as documented in the Ghub manual.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.