From 02f9683b769a0cb391e954083f7b498b20784cc9 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 23 Feb 2021 13:58:40 -0600 Subject: gitconfig: Add URL aliases --- config.org | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'config.org') diff --git a/config.org b/config.org index 89d70d2..e883bd3 100644 --- a/config.org +++ b/config.org @@ -3194,11 +3194,23 @@ have them all out of sync. eol = lf [diff "lisp"] # basic - xfuncname = "^(\\(.*)$" + #xfuncname = "^(\\(.*)$" # advanced xfuncname = "^(((;;;+ )|\\(|([ \t]+\\(((cl-|el-patch-)?def(un|var|macro|method|custom)|gb/))).*)$" [diff "org"] xfuncname = "^(\\*+ +.*)$" + + [url "https://github.com/"] + insteadOf = gh: + pushInsteadOf = gh: + + [url "https://gitlab.com/"] + insteadOf = gl: + pushInsteadOf = gl: + + [url "https://git.sr.ht/"] + insteadOf = sr: + pushInsteadOf = sr: #+end_src * Appendices -- cgit 1.4.1-21-gabe81