gitshark

Clone repository

git clone https://gitshark.de/git/workaround/Gitshark.git
git clone git@gitshark.de:workaround/Gitshark.git
{#include layout}
{#title}{commit.shortId} {commit.message} – {repo.name}{/title}
<div class="repo-layout">
    {#include RepositoryResource/sidebar nav=nav active='commits' /}
    <section class="repo-main">
        <p><a href="/repos/{repo.ownerHandle}/{repo.name}/commits/{nav.defaultBranch}">&larr; Commits</a></p>
        <div class="commit-detail">
            <h2 class="commit-subject">{commit.message}</h2>
            <p class="commit-meta muted">
                <code>{commit.id}</code> · {commit.author} · {commit.date}
            </p>
        </div>
        <h3>Changes</h3>
        {#if files.isEmpty()}
        <p class="muted">This commit introduced no file changes.</p>
        {#else}
        <p class="diffstat-summary">
            <b>{files.size()}</b> file{#if files.size() != 1}s{/if} changed,
            <span class="add">+{additions}</span> <span class="del">-{deletions}</span>
        </p>
        {#for file in files}
        <div class="diff-file">
            <div class="diff-file-head">
                <span class="badge ct-{file.changeType}">{file.changeType}</span>
                <code>{file.path}</code>
                <span class="diffstat"><span class="add">+{file.additions}</span> <span class="del">-{file.deletions}</span></span>
            </div>
            <div class="diff-body">
                {#for line in file.lines}
                <div class="dl {line.type}">
                    <div class="dl-line">
                        <span class="ln">{#if line.oldLine != -1}{line.oldLine}{/if}</span>
                        <span class="ln">{#if line.newLine != -1}{line.newLine}{/if}</span>
                        <span class="dl-text">{line.text}</span>
                    </div>
                </div>
                {/for}
            </div>
        </div>
        {/for}
        {/if}
    </section>
</div>
{/include}

Keyboard shortcuts

?Show this help
g hGo home
EscClose dialog