From 9db2d21c6095f1456f8de2a32a0927d421a47a7e Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Fri, 17 Jan 2020 11:36:57 +0000 Subject: [PATCH] Add an alias for the old gitea URL --- roles/home-cli/tasks/gitconfig.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/home-cli/tasks/gitconfig.yml b/roles/home-cli/tasks/gitconfig.yml index dad28d8..cd7a192 100644 --- a/roles/home-cli/tasks/gitconfig.yml +++ b/roles/home-cli/tasks/gitconfig.yml @@ -74,3 +74,8 @@ name: alias.up value: pull --rebase scope: global +- name: Git URL rewrite + git_config: + name: url."https://code.acperkins.com/".insteadof + value: https://git.acperkins.com/ + scope: global