<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Git Programming on weissenrieder.net</title>
    <link>https://www.weissenrieder.net/categories/git-programming/</link>
    <description>Recent content in Git Programming on weissenrieder.net</description>
    <generator>Hugo</generator>
    <language>de</language>
    <lastBuildDate>Thu, 01 Dec 2016 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.weissenrieder.net/categories/git-programming/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Git Cheat Sheet</title>
      <link>https://www.weissenrieder.net/posts/2016-12-01-git-cheat-sheet/</link>
      <pubDate>Thu, 01 Dec 2016 00:00:00 +0000</pubDate>
      <guid>https://www.weissenrieder.net/posts/2016-12-01-git-cheat-sheet/</guid>
      <description>&lt;p&gt;Eine kleine Anleitung für Git&lt;/p&gt;
&lt;h2 id=&#34;erstellen-eines-git-repros&#34;&gt;Erstellen eines Git Repros&lt;/h2&gt;
&lt;p&gt;Erzeugen mit:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;color:#b0c4de;background-color:#282c34;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;
&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;
&lt;pre tabindex=&#34;0&#34; style=&#34;color:#b0c4de;background-color:#282c34;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#58626f&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;
&lt;pre tabindex=&#34;0&#34; style=&#34;color:#b0c4de;background-color:#282c34;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8a93a5;font-style:italic&#34;&gt;#&amp;gt; git init &lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Vom Server holen mit:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;color:#b0c4de;background-color:#282c34;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;
&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;
&lt;pre tabindex=&#34;0&#34; style=&#34;color:#b0c4de;background-color:#282c34;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#58626f&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;
&lt;pre tabindex=&#34;0&#34; style=&#34;color:#b0c4de;background-color:#282c34;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8a93a5;font-style:italic&#34;&gt;#&amp;gt; git clone remote user@server:path &lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h2 id=&#34;abgleich&#34;&gt;Abgleich&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;hochschieben &lt;code&gt;git push &lt;/code&gt;&lt;/li&gt;
&lt;li&gt;herunterladen &lt;code&gt;git pull&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;lokales repository mit einem Remote Repository verbinden &lt;code&gt; git remote add origin user@server:path&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;neues-git-repository-anlegen-und-mit-vorhanden-daten-befüllen&#34;&gt;Neues Git Repository anlegen und mit vorhanden Daten befüllen&lt;/h2&gt;
&lt;p&gt;Szenario: Ich habe ein bißchen Sourcecode und möchte den jetzt in ein Git
Repository wandeln.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
