From a0a2d2c55bf958c4d756db0123187db41a708cd0 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 4 Oct 2021 07:28:15 -0700 Subject: git: configure forge properly I'm going to deprecate the SSH endpoint for gitea, and use HTTPS instead for accessing the repositories. For this, I need to configure properly the credential part for the different forges (github/gitea for now), and update the URL in the forge configuration for emacs. --- emacs/custom/fcuny-git.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs/custom') diff --git a/emacs/custom/fcuny-git.el b/emacs/custom/fcuny-git.el index 3ca7933..5573f70 100644 --- a/emacs/custom/fcuny-git.el +++ b/emacs/custom/fcuny-git.el @@ -83,7 +83,8 @@ (forge-database-file (expand-file-name "forge-database-file.sqlite" fcuny/path-emacs-var)) (auth-sources `(,(expand-file-name "authinfo.gpg" fcuny/path-emacs-etc))) :config - (add-to-list 'forge-alist '("git.fcuny.net:222" "git.fcuny.net/api/v1" "git.fcuny.net" forge-gitea-repository))) + (add-to-list 'forge-alist '("git.fcuny.net:222" "git.fcuny.net/api/v1" "git.fcuny.net" forge-gitea-repository)) + (add-to-list 'forge-alist '("git.fcuny.net" "git.fcuny.net/api/v1" "git.fcuny.net" forge-gitea-repository))) (use-package git-link :ensure t -- cgit v1.2.3