<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Developer Papercuts &#187; Git</title>
	<atom:link href="http://www.vogella.de/blog/tag/git/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vogella.de/blog</link>
	<description>Tips around Eclipse and Android programming</description>
	<lastBuildDate>Wed, 08 Feb 2012 17:31:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Avoiding Git Merge Commits with branch.branchname.rebase = true</title>
		<link>http://www.vogella.de/blog/2012/02/07/avoiding-git-merge-commits-with-branch-branchname-rebase-true/</link>
		<comments>http://www.vogella.de/blog/2012/02/07/avoiding-git-merge-commits-with-branch-branchname-rebase-true/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 12:01:34 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=4793</guid>
		<description><![CDATA[If you have local changes in your Git repo and pull in new changes from your remote repository, Git will per default create a merge commit for the pulled changes. This can clutter your history with unnecessary commits. 

To rebase your local changes on top of the pulled changes, you can use:



To activate this ...]]></description>
			<content:encoded><![CDATA[<p>If you have local changes in your <a href="http://www.vogella.de/articles/Git/article.html">Git</a> repo and pull in new changes from your remote repository, Git will per default create a merge commit for the pulled changes. This can clutter your history with unnecessary commits. </p>
<p>To rebase your local changes on top of the pulled changes, you can use:</p>
<pre class="brush: plain; title: ; notranslate">
git pull --rebase
</pre>
<p>To activate this for all new branches.</p>
<pre class="brush: plain; title: ; notranslate">
git config --global branch.autosetuprebase always
</pre>
<p>To update existing branches in your Git repo use the command:</p>
<pre class="brush: plain; title: ; notranslate">
git config branch.&lt;name&gt;.rebase true
</pre>
<p>Not everyone likes rebase. Here is a little summary why Linus Torvalds doesn&#8217;t like rebasing: <a href="http://kerneltrap.org/Linux/Git_Management">http://kerneltrap.org/Linux/Git_Management</a>.</p>
<p class="wp-flattr-button"></p> <p><a href="http://www.vogella.de/blog/?flattrss_redirect&amp;id=4793&amp;md5=6f38daae1320634c8d52607c184b9839" title="Flattr" target="_blank"><img src="http://www.vogella.de/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.vogella.de/blog/2012/02/07/avoiding-git-merge-commits-with-branch-branchname-rebase-true/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mylyn Github Connector</title>
		<link>http://www.vogella.de/blog/2011/05/10/mylyn-github-connector/</link>
		<comments>http://www.vogella.de/blog/2011/05/10/mylyn-github-connector/#comments</comments>
		<pubDate>Tue, 10 May 2011 21:15:57 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[Mylyn]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=3962</guid>
		<description><![CDATA[Just in case you missed it, there is a prototype for a Mylyn and Github connector available. Please see https://github.com/blog/852-github-mylyn-connector-for-eclipse for the official announcement.

Installing the connector is pretty straight forward you can directly install it from the Eclipse Marketplace client. The only pre-requisite is that you add the Orbit repository http://download.eclipse.org/tools/orbit/downloads/drops/S20110422041657/repository/ and install "Gson" ...]]></description>
			<content:encoded><![CDATA[<p>Just in case you missed it, there is a prototype for a <a href="http://www.vogella.de/articles/Mylyn/article.html">Mylyn</a> and <a href="https://github.com/">Github</a> connector available. Please see <a href="https://github.com/blog/852-github-mylyn-connector-for-eclipse">https://github.com/blog/852-github-mylyn-connector-for-eclipse</a> for the official announcement.</p>
<p>Installing the connector is pretty straight forward you can directly install it from the Eclipse Marketplace client. The only pre-requisite is that you add the Orbit repository http://download.eclipse.org/tools/orbit/downloads/drops/S20110422041657/repository/ and install &#8220;Gson&#8221; from the com.google.* category (thanks to <a href="http://twitter.com/smilebase">Christian Trutz</a> for the tip on <a href="http://twitter.com/vogella">twitter</a>).</p>
<p>Importing your issues is as easy as File -&gt; Import -&gt; Tasks -&gt; Github Task Repositories and then you can define new queries for this repository. </p>
<p>The first test unfortunately failed. During a submit of a new issue with the error &#8220;Submit failed: Unexpected error: Unprocessable Entry&#8221;.</p>
<p>Still the connector looks very promissing. <a href="http://www.vogella.de/articles/Git/article.html">Git</a> is my favorite version control system and I love Github. Its great that soon Mylyn will also to share issues and ther context via GitHub. </p>
<p>I suggest you give it a test run. If you find issues you can report them in bugzilla: <a href="https://bugs.eclipse.org/bugs/enter_bug.cgi?product=EGit&amp;component=Mylyn&amp;rep_platform=All&amp;op_sys=All">Mylyn EGit Connector</a>.</p>
<p><strong>Update</strong>: The bug is already fixed, looks like testing will get your bugs solved fast. <img src='http://www.vogella.de/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p class="wp-flattr-button"></p> <p><a href="http://www.vogella.de/blog/?flattrss_redirect&amp;id=3962&amp;md5=17c56c407d6b0f1313cc3102b8e35e7e" title="Flattr" target="_blank"><img src="http://www.vogella.de/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.vogella.de/blog/2011/05/10/mylyn-github-connector/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Git Alias &#8211; git add -A and git commit in one command</title>
		<link>http://www.vogella.de/blog/2010/12/25/git-alias-add-commit/</link>
		<comments>http://www.vogella.de/blog/2010/12/25/git-alias-add-commit/#comments</comments>
		<pubDate>Sat, 25 Dec 2010 10:12:35 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=3174</guid>
		<description><![CDATA[In in 95% of my time I type "git add . -A" directly followed by "git commit -m "message" in the Git version control system. 

That is a lot of typing for a very common case. Fortunately git allows to add an alias for the command. To add an alias for git add and ...]]></description>
			<content:encoded><![CDATA[<p>In in 95% of my time I type &#8220;git add . -A&#8221; directly followed by &#8220;git commit -m &#8220;message&#8221; in the <a href="http://www.vogella.de/articles/Git/article.html">Git</a> version control system. </p>
<p>That is a lot of typing for a very common case. Fortunately git allows to add an <a href="https://git.wiki.kernel.org/index.php/Aliases">alias for the command</a>. To add an alias for git add and git commit to your git configuration, open your .git/config file and add the following.</p>
<pre class="brush: plain; title: ; notranslate">
[alias]
        ac = !git add -A &amp;&amp; git commit
</pre>
<p>Alternative you can use the &#8211;global flag from the command line: </p>
<pre class="brush: plain; title: ; notranslate">
git config --global alias.ac '!git add -A &amp;&amp; git commit'
</pre>
<p>You now can add and commit to your <a href="http://www.vogella.de/articles/Git/article.html">Git</a> repository via the command:</p>
<pre class="brush: plain; title: ; notranslate">
git ac -m &quot;message&quot;
</pre>
<p>Unfortunately alias seems not to be supported on the window implementation of git (msysgit). See the bug report: <a href="http://code.google.com/p/msysgit/issues/detail?id=553">msysgit does not support alias definition</a>.</p>
<p>I hope this helps. More details can be found in my <a href="http://www.vogella.de/articles/Git/article.html">Git Tutorial</a>. You may want to <a href="http://twitter.com/vogella">follow me on Twitter</a>. </p>
<p class="wp-flattr-button"></p> <p><a href="http://www.vogella.de/blog/?flattrss_redirect&amp;id=3174&amp;md5=ebe634bb5f701300e3d6050416a4a026" title="Flattr" target="_blank"><img src="http://www.vogella.de/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.vogella.de/blog/2010/12/25/git-alias-add-commit/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The unnecessary complexity of Git</title>
		<link>http://www.vogella.de/blog/2010/09/21/complexity-git/</link>
		<comments>http://www.vogella.de/blog/2010/09/21/complexity-git/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 13:54:06 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=3140</guid>
		<description><![CDATA[Git is one of the greatest distributed version control system and EGit will pave the road to success for Git in the Eclipse world. 

But some things make the usage of Git difficult for new starters. I would like to highlight one particilar case; how to add files to the index. The approach differs ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vogella.de/articles/Git/article.html">Git</a> is one of the greatest distributed version control system and <a href="http://www.vogella.de/articles/EGit/article.html">EGit</a> will pave the road to success for <a href="http://www.vogella.de/articles/Git/article.html">Git</a> in the <a href="http://www.vogella.de/articles/Eclipse/article.html">Eclipse</a> world. </p>
<p>But some things make the usage of Git difficult for new starters. I would like to highlight one particilar case; how to add files to the index. The approach differs based on the situation. New files, deleted files and already commited files are treated differently. In my opinion Git is missing one command to add all changes to the index including deleted, changed and new files. Even better git should have a commit command which add everything to the index and commits it. Experts may want finer control but in my opinion this missing option makes it hard for new starters. </p>
<p>Perhaps git will add such a feature in the future, in my humble opinion the power of a complex workflow should not be payed with the lack of simplicity. </p>
<p><a href="http://www.vogella.de/blog/wp-content/uploads/2010/09/complexity.png"><img src="http://www.vogella.de/blog/wp-content/uploads/2010/09/complexity.png" alt="" width="200" height="240" class="aligncenter size-full wp-image-3146" /></a></p>
<p>The following command will add everything to the index <strong>except deleted files</strong>. </p>
<pre class="brush: plain; title: ; notranslate">
git add .
</pre>
<p>Unfortunately IMHO there is not &#8220;git add .&#8221; for removed files. You can not tell git to add all files which are deleted to the index via wildcards. The following will not work, <strong>you need to specify the files individually</strong>.</p>
<pre class="brush: plain; title: ; notranslate">
git rm .
</pre>
<p>The starter may think I just use git commit -a to do all this adding and deleting. Unfortunately this will only add deleted files and files which are already commited to the index.  <strong>New files are not included</strong>. </p>
<pre class="brush: plain; title: ; notranslate">
git commit -a -m &quot;message&quot;
</pre>
<p>If you want always to add your deleted files and as well as stage files what are already commited you should use the following command. <strong>This will not add new files to the index.</strong> Thanks to <a href="http://heath-tech.blogspot.com/">Heath Borders</a> for the clarification on this command.</p>
<pre class="brush: plain; title: ; notranslate">
git add -u .
</pre>
<p>I hope this helps, at least I got stuck for a while in these suble but important differences. Handling this example and much more can be found in my <a href="http://www.vogella.de/articles/Git/article.html">Git Tutorial</a>. </p>
<p>Btw. please don&#8217;t get me wrong I like having all these options but in addition to these option I believe git would be easier if it had one &#8220;add-it-all&#8221; option.</p>
<p>You find  <a href="http://twitter.com/vogella">me also on Twitter</a> . </p>
<p class="wp-flattr-button"></p> <p><a href="http://www.vogella.de/blog/?flattrss_redirect&amp;id=3140&amp;md5=5bbf5df9bad0349c1cd052380d48eebc" title="Flattr" target="_blank"><img src="http://www.vogella.de/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.vogella.de/blog/2010/09/21/complexity-git/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The JUG which lives &#8211; EGit presentation on 02.Sept. at the Majug</title>
		<link>http://www.vogella.de/blog/2010/08/30/egit-presentation/</link>
		<comments>http://www.vogella.de/blog/2010/08/30/egit-presentation/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 14:34:56 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[EGit]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[majug]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=3091</guid>
		<description><![CDATA[Since beginning of last year I participate more or less actively in the Java User Group Mannheim. Unfortunately the former main contact of the Java User Group Mannheim Alex Hanschke has moved out of the area.  

Benjamin Muskalla and myself volunteered to help organize the JUG Events. Therefore Benny and I will as ...]]></description>
			<content:encoded><![CDATA[<p>Since beginning of last year I participate more or less actively in the <a href="http://jug-mannheim.mixxt.de">Java User Group Mannheim</a>. Unfortunately the former main contact of the Java User Group Mannheim <a href="https://twitter.com/alexhanschke">Alex Hanschke</a> has moved out of the area.  </p>
<p><a href="https://twitter.com/bmuskalla">Benjamin Muskalla</a> and <a href="https://twitter.com/vogella">myself</a> volunteered to help organize the JUG Events. Therefore Benny and I will as of now try to find great new speakers and setup cool events. I think we are starting very well, as we are proud to have <a href="https://twitter.com/masohn">Matthias Sohn</a> and <a href="https://twitter.com/stefanlay">Stefan Lay</a> speak about <a href="http://www.vogella.de/articles/Git/article.html">Git</a> and <a href="http://www.vogella.de/articles/EGit/article.html">EGit</a> on the 02.Sept.  Git is one of the leading distributed version control systems and EGit a team provider for Eclipse.</p>
<p>Matthias and and Stefan are both committers in the EGit project. Details on Matthias and Stefan and the presentation can be found on the <a href="http://jug-mannheim.mixxt.de/networks/events/show_event.23581">Majug Event Announcement</a>.  As usual we organize to have drinks after the event and hope Matthias and Stefan will be able to join so that you can bugger them with questions. The presentation will be in German. </p>
<p>Rumors are that we will see a real merge via EGit <a href="http://jug-mannheim.mixxt.de/networks/events/show_event.23581">on this event</a>&#8230; <img src='http://www.vogella.de/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Hope to see you at their.</p>
<p class="wp-flattr-button"></p> <p><a href="http://www.vogella.de/blog/?flattrss_redirect&amp;id=3091&amp;md5=3aa1b850c645883bfebd67d4c2a968cc" title="Flattr" target="_blank"><img src="http://www.vogella.de/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.vogella.de/blog/2010/08/30/egit-presentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Local Mylyn tasks distributed via git</title>
		<link>http://www.vogella.de/blog/2010/08/26/local-mylyn-tasks-distributed/</link>
		<comments>http://www.vogella.de/blog/2010/08/26/local-mylyn-tasks-distributed/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 11:46:01 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Mylyn]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=3072</guid>
		<description><![CDATA[I learned from Steffen Pingel and Ekkehard Gentz that Mylyn has the ability to save local tasks outside the workspace. This is hidden under advanced in the Preferences.



This allows you to put your local tasks outside your workspace and versionize them with git. This way you can use git to move your local tasks ...]]></description>
			<content:encoded><![CDATA[<p>I learned from <a href="http://steffenpingel.de/">Steffen Pingel</a> and <a href="http://ekkescorner.wordpress.com/">Ekkehard Gentz</a> that <a href="http://www.vogella.de/articles/Mylyn/article.html">Mylyn</a> has the ability to save local tasks outside the workspace. This is hidden under advanced in the Preferences.</p>
<p><a href="http://www.vogella.de/blog/wp-content/uploads/2010/08/20.08-1.png"><img src="http://www.vogella.de/blog/wp-content/uploads/2010/08/20.08-1.png" alt="" width="634" height="669" class="aligncenter size-full wp-image-3074" /></a></p>
<p>This allows you to put your local tasks outside your workspace and versionize them with <a href="http://www.vogella.de/articles/Git/article.html">git</a>. This way you can use git to move your local tasks between machines. I really like this as I frequently use different machines and now I can not only share source code betwee them but also my mylyn taslks.</p>
<p><a href="http://www.vogella.de/blog/wp-content/uploads/2010/08/20.08.png"><img src="http://www.vogella.de/blog/wp-content/uploads/2010/08/20.08.png" alt="" width="270" height="205" class="aligncenter size-full wp-image-3076" /></a></p>
<p>As <a href="http://steffenpingel.de/">Steffen</a> told me, simultanous access to the Mylyn tasks might cause task corruption but I don&#8217;t think that is an issue for me as Git takes care of conflicts and I do not have two machines writing to the same local file. </p>
<p>Fun times with Git and Mylyn!</p>
<p class="wp-flattr-button"></p> <p><a href="http://www.vogella.de/blog/?flattrss_redirect&amp;id=3072&amp;md5=245314baf95b4437d29cc74b5b22a950" title="Flattr" target="_blank"><img src="http://www.vogella.de/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.vogella.de/blog/2010/08/26/local-mylyn-tasks-distributed/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Git &#8211; Cloning and pushing via https (Linux and Windows)</title>
		<link>http://www.vogella.de/blog/2010/08/09/git-https/</link>
		<comments>http://www.vogella.de/blog/2010/08/09/git-https/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 21:49:07 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[EGit]]></category>
		<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=2979</guid>
		<description><![CDATA[Unfortunately the Eclipse team provider EGit does currently not support to use HTTPS for cloning and pushing. 

Fortunately the Git command line supports this (under Linux without problems). 


If you are on Windows and if you are using msysGit then you may receive the following error:



If you have this error you can disable ssl ...]]></description>
			<content:encoded><![CDATA[<p>Unfortunately the Eclipse team provider <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=296201">EGit does currently not support to use HTTPS for cloning and pushing</a>. </p>
<p>Fortunately the <a href="http://www.vogella.de/articles/Git/article.html">Git command line</a> supports this (under Linux without problems). </p>
<pre class="brush: plain; title: ; notranslate">
git clone https://vogella@github.com/vogella/de.vogella.rcp.example.git
// do some changes
git push https://vogella@github.com/vogella/de.vogella.rcp.example.git
</pre>
<p>If you are on Windows and if you are using <a href="http://code.google.com/p/msysgit/">msysGit</a> then you may receive the following error:</p>
<pre class="brush: plain; title: ; notranslate">
error: error setting certificate verify locations:
CAfile: /bin/curl-ca-bundle.crt
CApath: none
while accessing your_repo
</pre>
<p>If you have this error you can disable ssl verification to solve it.</p>
<pre class="brush: plain; title: ; notranslate">
git config --global http.sslverify &quot;false&quot;
</pre>
<p>After this change cloning and pushing works via https on Windows. </p>
<p>Alternative the following should also make msysGit work, but I didn&#8217;t test these approaches. </p>
<pre class="brush: plain; title: ; notranslate">
copy C:\Program Files\Git\bin\curl-ca-bundle.crt to c:\bin\curl-ca-bundle.crt
</pre>
<p>or </p>
<pre class="brush: plain; title: ; notranslate">
 git config --system http.sslcainfo \bin/curl-ca-bundle.crt
</pre>
<p>The full discussion of the <a href="http://code.google.com/p/msysgit/">msysGit</a> issue can be found <a href="http://github.com/blog/642-smart-http-support">here</a>.</p>
<p>[Update:] If you are behind a http proxy you can set the proxy via the following command:</p>
<pre class="brush: plain; title: ; notranslate">
 git config --global http.proxy http://proxy:8080
// To check the proxy settings
git config --get http.proxy
</pre>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://www.vogella.de/blog/2010/08/09/git-https/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Eclipse e4 git mirror</title>
		<link>http://www.vogella.de/blog/2010/07/20/e4-git-mirrors/</link>
		<comments>http://www.vogella.de/blog/2010/07/20/e4-git-mirrors/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 13:05:31 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[E4]]></category>
		<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=2861</guid>
		<description><![CDATA[After some time and effort mainly by Denis Roy and Bernhard Merkle the e4 git mirrors are working.

You find the e4 repos listed Eclipes Git overview.

EGit is also kind enough to be able to import all the projects from the different levels of the projects. 

So give it a try via EGit and check ...]]></description>
			<content:encoded><![CDATA[<p>After <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=296541">some time and effort</a> mainly by <a href="http://dev.eclipse.org/blogs/eclipsewebmaster/">Denis Roy</a> and <a href="http://twitter.com/BernhardMerkle">Bernhard Merkle</a> the e4 git mirrors are working.</p>
<p>You find the e4 repos listed <a href="http://dev.eclipse.org/git/index.html">Eclipes Git overview</a>.</p>
<p><a href="http://www.vogella.de/articles/EGit/article.html">EGit</a> is also kind enough to be able to import all the projects from the different levels of the projects. </p>
<p>So give it a try via EGit and check out the e4 source code, e.g. the e4 UI projects via <a href="http://www.vogella.de//dev.eclipse.org/org.eclipse.e4/org.eclipse.e4.ui.git?phpMyAdmin=pGYgzr5q5pQd6aMfv3bd9m1zbi3">git://dev.eclipse.org/org.eclipse.e4/org.eclipse.e4.ui.git</a> or if you want to use http via <a href="http://dev.eclipse.org/git/org.eclipse.e4/org.eclipse.e4.ui.git">http://dev.eclipse.org/git/org.eclipse.e4/org.eclipse.e4.ui.git</a>.</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://www.vogella.de/blog/2010/07/20/e4-git-mirrors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checking out EGit source code with EGit</title>
		<link>http://www.vogella.de/blog/2010/02/12/checkout-egit-source-code/</link>
		<comments>http://www.vogella.de/blog/2010/02/12/checkout-egit-source-code/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 01:13:37 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[EGit]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Source]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=1916</guid>
		<description><![CDATA[Git and EGit are getting popular. In case you want to start hacking on EGit this will give you some hints. 

First install EGit following this guide EGit Tutorial.

First you need a few libraries from Orbit via cvs. The cvs location is  ":pserver:anonymous@dev.eclipse.org/cvsroot/tools". You need:


	org.eclipse.orbit/com.jcraft.jsch
	org.eclipse.orbit/org.kohsuke.args4j
	org.eclipse.orbit/javax.servlet


See   Libraries from Orbit for getting these ...]]></description>
			<content:encoded><![CDATA[<p>Git and EGit are getting popular. In case you want to start hacking on EGit this will give you some hints. </p>
<p>First install EGit following this guide <a href="http://www.vogella.de/articles/EGit/article.html">EGit Tutorial</a>.</p>
<p>First you need a few libraries from Orbit via cvs. The cvs location is  &#8220;:pserver:anonymous@dev.eclipse.org/cvsroot/tools&#8221;. You need:</p>
<ul>
<li>org.eclipse.orbit/com.jcraft.jsch</li>
<li>org.eclipse.orbit/org.kohsuke.args4j</li>
<li>org.eclipse.orbit/javax.servlet</li>
</ul>
<p>See  <a href="http://wiki.eclipse.org/EGit/Contributor_Guide#Libraries_from_Orbit"> Libraries from Orbit</a> for getting these libraries.</p>
<p>Select File -&gt; Import -&gt; Git -&gt; Git Repository and paste the URL &#8220;git://egit.eclipse.org/jgit.git&#8221; into the first line.</p>
<p><a href="http://www.vogella.de/blog/wp-content/uploads/2010/02/checkout.gif"><img src="http://www.vogella.de/blog/wp-content/uploads/2010/02/checkout.gif" alt="" width="419" height="431" class="aligncenter size-full wp-image-1920" /></a></p>
<p>Do the same with &#8220;git://egit.eclipse.org/egit.git&#8221;.</p>
<p>Currently there is a little bug in EGit, please see <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=298027">Bug Report</a>. If you facing the problem that the Team operations are not available on your new project my <a href="http://www.vogella.de/articles/EGit/article.html">EGit Tutorial</a> describes what to do to make the Team operations available. This <strong>should be fixed very soon</strong>, path is already commited to the master branch. </p>
<p>You have now the source code in your workspace and can start hacking. </p>
<p>For more info please see the excellent <a href="http://wiki.eclipse.org/EGit/Contributor_Guide">EGit Contributor Guide</a>.</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://www.vogella.de/blog/2010/02/12/checkout-egit-source-code/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Getting the Eclipse source code via Git</title>
		<link>http://www.vogella.de/blog/2009/11/24/eclipse-source-git/</link>
		<comments>http://www.vogella.de/blog/2009/11/24/eclipse-source-git/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 13:57:07 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[cvs]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Source]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=1417</guid>
		<description><![CDATA[Eclipse recently started to provide Git mirrors of the cvs repositories.You find the location of the Git repository on the following website Eclipse Git repositories.

If you have the git commad line tools installed (Ubuntu: sudo apt-get git-core) you can use the following command to check these repositories out from the command line: 


for example ...]]></description>
			<content:encoded><![CDATA[<p>Eclipse recently started to provide Git mirrors of the cvs repositories.You find the location of the Git repository on the following website <a href="http://dev.eclipse.org/git/">Eclipse Git repositories</a>.</p>
<p>If you have the git commad line tools installed (Ubuntu: sudo apt-get git-core) you can use the following command to check these repositories out from the command line: </p>
<pre class="brush: bash; title: ; notranslate">
git clone url
</pre>
<p>for example to get the JFace snippets use the following command.</p>
<pre class="brush: bash; title: ; notranslate">
git clone git://dev.eclipse.org/org.eclipse.jface/org.eclipse.jface.snippets.git
</pre>
<p>After that checkout you can import the project into Eclipse via File -&gt; Import -&gt; General -&gt; Existing Project into Workspace.</p>
<p>Of course you can use the <a href="http://www.eclipse.org/egit/">EGit plugin</a> to checkout Git repositories directly in Eclipse. Check the excellent <a href="http://wiki.eclipse.org/EGit/User_Guide/">EGit User Guide</a> for this.</p>
<p>Via Git we have another nice option to get the Eclipse source code in additon <a href="http://www.vogella.de/articles/EclipseCodeAccess/article.html#versioncontrol">to cvs and svn</a>. <img src='http://www.vogella.de/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  </p>
<p>I believe Git does currently not support Project Set Files (.psf) similar to cvs to get a consistent set of plugins but at least individual plugins can be checked out. </p>
<p><strong>Update</strong> I have created a small  introduction to Git <a href="http://www.vogella.de/articles/Git/article.html">Git Tutorial</a> and to EGit <a href="http://www.vogella.de/articles/EGit/article.html">Git with Eclipse &#8211; EGit Tutorial</a>. Hope this helps.</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://www.vogella.de/blog/2009/11/24/eclipse-source-git/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

