summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/custom')
-rw-r--r--emacs/custom/my-git.el10
1 files changed, 7 insertions, 3 deletions
diff --git a/emacs/custom/my-git.el b/emacs/custom/my-git.el
index 348dfe7..020865c 100644
--- a/emacs/custom/my-git.el
+++ b/emacs/custom/my-git.el
@@ -41,9 +41,13 @@
      ("Updated" 10 t nill updated nil))))
 
 (with-eval-after-load 'forge
-  (push '("github.rbxs.com" "github.rbx.com/api/v3"
-          "github.rbx.com" forge-github-repository)
-        forge-alist))
+  (setq forge-alist
+	    (quote
+	     (("github.com" "api.github.com" "github.com" forge-github-repository)
+	      ("gitlab.com" "gitlab.com/api/v4" "gitlab.com" forge-gitlab-repository)
+          ("git.fcuny.net" "git.fcuny.net/api/v1" "git.fcuny.net" forge-gitea-repository)
+          ("github.rbx.com" "github.rbx.com/api/v3" "github.rbx.com" forge-github-repository)
+	      ("git.kernel.org" nil "git.kernel.org" forge-cgit-repository)))))
 
 (use-package git-commit
   :ensure t