changeset 2182:f635e8bdfb60 beta

fix initial instructions for git
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 11 Apr 2012 19:11:15 +0200
parents e1c1ebbe7346
children 9d27481228a1
files rhodecode/templates/shortlog/shortlog_data.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/shortlog/shortlog_data.html	Tue Apr 03 00:02:25 2012 +0200
+++ b/rhodecode/templates/shortlog/shortlog_data.html	Wed Apr 11 19:11:15 2012 +0200
@@ -73,7 +73,7 @@
     ${c.rhodecode_repo.alias} clone ${c.clone_repo_url}
     ${c.rhodecode_repo.alias} add README # add first file
     ${c.rhodecode_repo.alias} commit -m "Initial" # commit with message
-    ${c.rhodecode_repo.alias} push # push changes back
+    ${c.rhodecode_repo.alias} push ${'origin master' if h.is_git(c.rhodecode_repo) else ''} # push changes back
 </pre>
 
 <h4>${_('Existing repository?')}</h4>