# HG changeset patch # User Marcin Kuzminski # Date 2012-07-25 19:58:44 # Node ID 2e0a39df8934e86b6364e2e1d3ede9a697c47011 # Parent 80d837028c40ba20002480c0b77940b89c023b9e better instructions for git start diff --git a/rhodecode/templates/shortlog/shortlog_data.html b/rhodecode/templates/shortlog/shortlog_data.html --- a/rhodecode/templates/shortlog/shortlog_data.html +++ b/rhodecode/templates/shortlog/shortlog_data.html @@ -78,6 +78,11 @@

${_('Existing repository?')}

-    ${c.rhodecode_repo.alias} push ${c.clone_repo_url}
+%if h.is_git(c.rhodecode_repo):
+    git remote add origin ${c.clone_repo_url}
+    git push -u origin master
+%else:
+    hg push ${c.clone_repo_url}
+%endif    
 
%endif