171 lines
4.5 KiB
HTML
171 lines
4.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<meta name="viewport" content="width=1024, user-scalable=no">
|
|
|
|
<title>Dokumente verwalten mit GIT</title>
|
|
|
|
<!-- Required stylesheet -->
|
|
<link rel="stylesheet" href="core/deck.core.css">
|
|
|
|
<!-- Extension CSS files go here. Remove or add as needed. -->
|
|
<link rel="stylesheet" href="extensions/goto/deck.goto.css">
|
|
<link rel="stylesheet" href="extensions/menu/deck.menu.css">
|
|
<link rel="stylesheet" href="extensions/navigation/deck.navigation.css">
|
|
<link rel="stylesheet" href="extensions/status/deck.status.css">
|
|
<link rel="stylesheet" href="extensions/hash/deck.hash.css">
|
|
<link rel="stylesheet" href="extensions/scale/deck.scale.css">
|
|
|
|
<!-- <link rel="stylesheet" href="themes/transition/horizontal-slide.css"> -->
|
|
|
|
<!-- Style theme. More available in /themes/style/ or create your own. -->
|
|
<link href="themes/style/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
|
|
|
|
<!-- Required Modernizr file -->
|
|
<script src="modernizr.custom.js"></script>
|
|
</head>
|
|
<body class="deck-container">
|
|
|
|
<!-- Begin slides. Just make elements with a class of slide. -->
|
|
<header>
|
|
<nav>
|
|
<h1>Dokumente verwalten mit Git</h1>
|
|
</nav>
|
|
</header>
|
|
|
|
<section class="slide">
|
|
<h1>What is this all about?</h1>
|
|
<ul>
|
|
<li>Was ist eine Versionsverwaltung?</li>
|
|
<li>Was ist GIT?</li>
|
|
<li>Was ist ein Branch?</li>
|
|
<li>Wie installiere ich GIT?</li>
|
|
<li>Wie lege ich ein Repository an?</li>
|
|
<li>Wie füge ich eine Datei hinzu?</li>
|
|
<li>Wie lasse ich mir die Unterschiede anzeigen?</li>
|
|
<li>Wie komme ich an eine alte Version ran?</li>
|
|
</ul>
|
|
</section>
|
|
|
|
<section class="slide">
|
|
<h1>Was ist eine Versionsverwaltung?</h1>
|
|
</section>
|
|
|
|
<section class="slide">
|
|
<h1>Was ist GIT?</h1>
|
|
</section>
|
|
|
|
<section class="slide">
|
|
<h1> was ist ein Branch?</h1>
|
|
</section>
|
|
|
|
<section class="slide">
|
|
<h1>Wie installiere ich GIT?</h1>
|
|
<p><strong>Windows</strong></p>
|
|
<p>http://code.google.com/p/msysgit/downloads/list?q=full+installer+official+git</p>
|
|
<p><strong>Linux</strong></p>
|
|
<pre><code>
|
|
# Debian
|
|
$ apt-get install git-core
|
|
# RedHat
|
|
$ yum install git
|
|
# gentoo
|
|
$ emerge git
|
|
</code></pre>
|
|
</section>
|
|
|
|
<section class="slide">
|
|
<h1>Wie lege ich ein Repository an?</h1>
|
|
<pre><code>
|
|
$ git init
|
|
</code></pre>
|
|
</section>
|
|
|
|
<section class="slide">
|
|
<h1>Wie füge ich eine Datei hinzu?</h1>
|
|
<pre><code>
|
|
$ git add hausarbeit.tex
|
|
$ git commit -m "Erster Commit meiner tollen Hausarbeit"
|
|
</code></pre>
|
|
</section>
|
|
|
|
<section class="slide">
|
|
<h1>Wie lasse ich mir die Unterschiede anzeigen?</h1>
|
|
<pre><code>
|
|
$ git diff hausarbeit.tex
|
|
</code></pre>
|
|
</section>
|
|
|
|
<section class="slide">
|
|
<h1>Wie komme ich an eine alte Version ran?</h1>
|
|
<pre><code>
|
|
$ git log
|
|
$ git checkout <versionshash>
|
|
$ git checkout master
|
|
</code></pre>
|
|
</section>
|
|
|
|
<section class="slide">
|
|
<h1>Noch fragen?</h1>
|
|
<h2>Was nicht erwähnt wurde</h2>
|
|
<ul>
|
|
<li>Noch mehr branching</li>
|
|
<li>Entfernte Repositories</li>
|
|
<li>rebase</li>
|
|
<li>stash</li>
|
|
|
|
</ul>
|
|
</section>
|
|
|
|
|
|
<!-- End slides. -->
|
|
|
|
|
|
<!-- Begin extension snippets. Add or remove as needed. -->
|
|
|
|
<!-- deck.navigation snippet -->
|
|
|
|
<!-- deck.status snippet -->
|
|
<p class="deck-status">
|
|
<span class="deck-status-current"></span>
|
|
/
|
|
<span class="deck-status-total"></span>
|
|
</p>
|
|
|
|
<!-- deck.goto snippet -->
|
|
<form action="." method="get" class="goto-form">
|
|
<label for="goto-slide">Go to slide:</label>
|
|
<input type="text" name="slidenum" id="goto-slide" list="goto-datalist">
|
|
<datalist id="goto-datalist"></datalist>
|
|
<input type="submit" value="Go">
|
|
</form>
|
|
|
|
<!-- deck.hash snippet -->
|
|
<a href="." title="Permalink to this slide" class="deck-permalink">#</a>
|
|
|
|
<!-- End extension snippets. -->
|
|
|
|
|
|
<!-- Required JS files. -->
|
|
<script src="jquery-1.7.2.min.js"></script>
|
|
<script src="core/deck.core.js"></script>
|
|
|
|
<!-- Extension JS files. Add or remove as needed. -->
|
|
<script src="core/deck.core.js"></script>
|
|
<script src="extensions/hash/deck.hash.js"></script>
|
|
<script src="extensions/menu/deck.menu.js"></script>
|
|
<script src="extensions/goto/deck.goto.js"></script>
|
|
<script src="extensions/status/deck.status.js"></script>
|
|
<script src="extensions/navigation/deck.navigation.js"></script>
|
|
<script src="extensions/scale/deck.scale.js"></script>
|
|
|
|
<!-- Initialize the deck. You can put this in an external file if desired. -->
|
|
<script>
|
|
$(function() {
|
|
$.deck('.slide');
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|