The setup was not really clear (I think). References:
M-x package-list-package
and installforge
- Go to Gitlab and create a personal token with all access, Copy the token key
- Open
~/.authinfo
machine gitlab.com/api/v4 login <your_gitlab_username>^forge password <your_gitlab_access_token>
M-x epa-encrypt-file
, selectOK
- Setup a new password
- Add in
.emacs
; Auto run forge (with-eval-after-load 'magit (require 'forge)) ; For forge authentication (setq auth-sources '("~/.authinfo.gpg"))
- Do
C-x e
at the end of each lines above - Open the magit, then type
f a
- Add the repo and it will ask if you want to download stuff.