## -*- coding: utf-8 -*- <%namespace name="base" file="/base/base.html"/> %if c.repo_commits:
${_('Commit')} | ${_('Commit message')} | ${_('Age')} | ${_('Author')} | ${_('Refs')} | ||
---|---|---|---|---|---|---|
${h.show_id(cs)} |
%if c.statuses.get(cs.raw_id): %endif | %if c.comments.get(cs.raw_id,[]): ${len(c.comments[cs.raw_id])} %endif | ${h.age_component(cs.date)} | ${base.gravatar_with_user(cs.author)} |
${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 ${'origin master' if h.is_git(c.rhodecode_repo) else ''} # push changes back
%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