Mercurial > kallithea
changeset 2659:2e0a39df8934 beta
better instructions for git start
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 25 Jul 2012 21:58:44 +0200 |
parents | 80d837028c40 |
children | 98532710ad14 |
files | rhodecode/templates/shortlog/shortlog_data.html |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/templates/shortlog/shortlog_data.html Wed Jul 25 21:54:03 2012 +0200 +++ b/rhodecode/templates/shortlog/shortlog_data.html Wed Jul 25 21:58:44 2012 +0200 @@ -78,6 +78,11 @@ <h4>${_('Existing repository?')}</h4> <pre> - ${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 </pre> %endif