From 51344d669aa2c2c81ff27f23ae2ddbf77c9eef4d Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 30 2014 16:13:59 +0000 Subject: Use the newly created GIT_URL in the repo_info template when the repo is empty Signed-off-by: Pierre-Yves Chibon --- diff --git a/progit/templates/repo_info.html b/progit/templates/repo_info.html index af1be7b..68ef2e9 100644 --- a/progit/templates/repo_info.html +++ b/progit/templates/repo_info.html @@ -13,7 +13,7 @@

If you already have a git repo:

-      git remote add origin https://githosted.org/{{ repo.name }}.git
+      git remote add origin {{ config.get('GIT_URL') }}:{{ repo.name }}.git
       git push -u origin master
     
@@ -23,7 +23,7 @@ git init git add README.rst git commit -m "Add README file" - git remote add origin https://githosted.org/{{ repo.name }}.git + git remote add origin {{ config.get('GIT_URL') }}:{{ repo.name }}.git git push -u origin master