<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://b-kaempgen.de/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://b-kaempgen.de/index.php?action=history&amp;feed=atom&amp;title=Git</id>
		<title>Git - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://b-kaempgen.de/index.php?action=history&amp;feed=atom&amp;title=Git"/>
		<link rel="alternate" type="text/html" href="http://b-kaempgen.de/index.php?title=Git&amp;action=history"/>
		<updated>2026-04-29T11:12:38Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.22.2</generator>

	<entry>
		<id>http://b-kaempgen.de/index.php?title=Git&amp;diff=302&amp;oldid=prev</id>
		<title>Benedikt Kämpgen: /* Common Commands */</title>
		<link rel="alternate" type="text/html" href="http://b-kaempgen.de/index.php?title=Git&amp;diff=302&amp;oldid=prev"/>
				<updated>2014-09-29T02:38:49Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Common Commands&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 02:38, 29 September 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* git remote add fork https://github.com/bkaempgen/olap4j-xmlaserver.git&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* git remote add fork https://github.com/bkaempgen/olap4j-xmlaserver.git&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* git checkout master - switch to master or branch&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* git checkout master - switch to master or branch&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* git log document.tex - for logs&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Roll back&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Roll back&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Benedikt Kämpgen</name></author>	</entry>

	<entry>
		<id>http://b-kaempgen.de/index.php?title=Git&amp;diff=301&amp;oldid=prev</id>
		<title>Benedikt Kämpgen: Created page with &quot;Description::Common git commands.  * Basic commands: http://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-Repository  == Common Commands == * used git clone uri * u...&quot;</title>
		<link rel="alternate" type="text/html" href="http://b-kaempgen.de/index.php?title=Git&amp;diff=301&amp;oldid=prev"/>
				<updated>2014-09-29T02:32:38Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Description::Common_git_commands.&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Description::Common git commands. (page does not exist)&quot;&gt;Description::Common git commands.&lt;/a&gt;  * Basic commands: http://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-Repository  == Common Commands == * used git clone uri * u...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Description::Common git commands.]]&lt;br /&gt;
&lt;br /&gt;
* Basic commands: http://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-Repository&lt;br /&gt;
&lt;br /&gt;
== Common Commands ==&lt;br /&gt;
* used git clone uri&lt;br /&gt;
* used git status&lt;br /&gt;
* used git add&lt;br /&gt;
* used git status --staged &amp;lt;= &lt;br /&gt;
* git diff --cached &amp;lt;= staged so far see differences: git diff file&lt;br /&gt;
* git commit &amp;lt;= to your local repository&lt;br /&gt;
* git push origin master (push upstream if you have write access) &amp;lt;= origin ist remote repository, master ist der branch&lt;br /&gt;
* git remote show origin &amp;lt;= look at info about upstream source&lt;br /&gt;
* git diff origin master &amp;lt;= show difference between current commit and upstream&lt;br /&gt;
* git remote add fork https://github.com/bkaempgen/olap4j-xmlaserver.git&lt;br /&gt;
* git checkout master - switch to master or branch&lt;br /&gt;
* Roll back&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git fetch origin&lt;br /&gt;
git reset --hard origin/master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Google Code ===&lt;br /&gt;
* maybe reset first when problems&lt;br /&gt;
* git clone https://benedikt.kaempgen@code.google.com/p/ldcx/&lt;br /&gt;
* git status&lt;br /&gt;
* git push origin master&lt;br /&gt;
&lt;br /&gt;
==Problems==&lt;br /&gt;
===Difference between repositories===&lt;br /&gt;
* http://stackoverflow.com/questions/5162800/git-diff-between-cloned-and-original-remote-repository&lt;br /&gt;
&lt;br /&gt;
===How do i fix merge conflicts in git===&lt;br /&gt;
* http://stackoverflow.com/questions/161813/how-do-i-fix-merge-conflicts-in-git&lt;br /&gt;
* git mergetool&lt;br /&gt;
* git commit -m &amp;quot;Merge conflict resolution&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Renaming===&lt;br /&gt;
* Kein großes Problem: http://www.patrick-wied.at/blog/rename-files-and-folders-with-git&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Benedikt Kämpgen</name></author>	</entry>

	</feed>