## -*- coding: utf-8 -*- <%namespace name="base" file="/base/base.mako"/> %if c.repo_commits:
${_('Commit')} | ${_('Commit message')} | ${_('Age')} | ${_('Author')} | ${_('Refs')} | ||
---|---|---|---|---|---|---|
%if c.statuses.get(cs.raw_id): %else: %endif |
${h.show_id(cs)}
|
|
${h.age_component(cs.date)} | ${base.gravatar_with_user(cs.author)} | <% cs_comments = c.comments.get(cs.raw_id,[]) %> % if cs_comments: ${len(cs_comments)} % else: ${len(cs_comments)} % endif |
${_('Add or upload files directly via RhodeCode:')}
%endif${_('Push new repo:')}
%if h.is_git(c.rhodecode_repo): git clone ${c.clone_repo_url} git add README # add first file git commit -m "Initial commit" # commit with message git remote add origin ${c.clone_repo_url} git push -u origin master # push changes back to default master branch %elif h.is_hg(c.rhodecode_repo): hg clone ${c.clone_repo_url} hg add README # add first file hg commit -m "Initial commit" # commit with message hg push ${c.clone_repo_url} %elif h.is_svn(c.rhodecode_repo): svn co ${c.clone_repo_url} svn add README # add first file svn commit -m "Initial commit" svn commit # send changes back to the server %endif
${_('Existing repository?')}
%if h.is_git(c.rhodecode_repo): git remote add origin ${c.clone_repo_url} git push -u origin master %elif h.is_hg(c.rhodecode_repo): hg push ${c.clone_repo_url} %elif h.is_svn(c.rhodecode_repo): svn co ${c.clone_repo_url} %endif