65 lines
2.9 KiB
HTML
65 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<link rel="icon" type="image/svg+xml" href="../../../assets/favicon.svg">
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Git 09: Remote Repositories & Upstream Tracking</title>
|
|
<link rel="stylesheet" href="../../../assets/style.css">
|
|
</head>
|
|
<body>
|
|
<div class="app-layout">
|
|
<div class="app-main">
|
|
<header>
|
|
<div class="header-container">
|
|
<div class="header-badge">🔀 Remote Git</div>
|
|
<h1>Git 09: Remote Repositories & Upstream Tracking</h1>
|
|
<p>Verbinde dein lokales Repository mit Remote-Servern (GitHub, GitLab, internes Git).</p>
|
|
</div>
|
|
</header>
|
|
|
|
<main class="container">
|
|
<section class="card">
|
|
<h2>💡 Theorie & Praxiskonzept</h2>
|
|
<p>Verbinde dein lokales Repository mit Remote-Servern (GitHub, GitLab, internes Git).</p>
|
|
<div class="code-container">
|
|
<div class="code-header">
|
|
<span>Git Terminal Cheat Sheet</span>
|
|
<span>Bash / CLI</span>
|
|
</div>
|
|
<pre><code># Wichtige Befehle für dieses Modul:
|
|
git status -s
|
|
git add <datei>
|
|
git commit -m "feat: deine änderung"
|
|
git log --oneline --graph</code></pre>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="card">
|
|
<h2>🎯 Aufgaben & Checkliste</h2>
|
|
<div class="task-item">
|
|
<input type="checkbox" class="task-checkbox" id="t1">
|
|
<label class="task-label" for="t1"><strong>TODO 1:</strong> Remote mit git remote add origin hinzufügen</label>
|
|
</div><div class="task-item">
|
|
<input type="checkbox" class="task-checkbox" id="t2">
|
|
<label class="task-label" for="t2"><strong>TODO 2:</strong> Upstream-Tracking mit git push -u origin main etablieren</label>
|
|
</div><div class="task-item">
|
|
<input type="checkbox" class="task-checkbox" id="t3">
|
|
<label class="task-label" for="t3"><strong>TODO 3:</strong> Remote-URLs mit git remote -v prüfen</label>
|
|
</div><div class="task-item">
|
|
<input type="checkbox" class="task-checkbox" id="t4">
|
|
<label class="task-label" for="t4"><strong>TODO 4:</strong> Remote-Informationen mit git remote show origin abrufen</label>
|
|
</div>
|
|
|
|
<div style="margin-top: 25px; display: flex; gap: 12px; flex-wrap: wrap;">
|
|
<a href="../../../workspace.html?course=git&track=track_3_remotes_collaboration&chapter=09_remotes_verbinden_und_git_push" class="btn" style="background: #10b981; color: #fff; font-weight: 700;">💻 In Web-IDE öffnen →</a>
|
|
<a href="../10_git_fetch_vs_git_pull/index.html" class="btn btn-secondary">Weiter zu Modul →</a>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
</div>
|
|
</div>
|
|
<script src="../../../assets/courses_manifest.js"></script>
|
|
<script src="../../../assets/course_sidebar.js"></script>
|
|
</body>
|
|
</html>
|