<?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>Ian Sweeney &#187; Git</title>
	<atom:link href="http://www.iansweeney.me.uk/tag/git/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iansweeney.me.uk</link>
	<description>Personal Website www.iansweeney.me.uk</description>
	<lastBuildDate>Tue, 26 Jul 2011 16:55:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Git, GitHub, TortoiseGit, Windows 7, Windows Vista, msysgit</title>
		<link>http://www.iansweeney.me.uk/2010/07/20/git-github-tortoisegit-windows-7-vista-msysgit/</link>
		<comments>http://www.iansweeney.me.uk/2010/07/20/git-github-tortoisegit-windows-7-vista-msysgit/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 20:28:27 +0000</pubDate>
		<dc:creator>Ian Sweeney</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[msysgit]]></category>
		<category><![CDATA[TortoiseGit]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.iansweeney.me.uk/?p=909</guid>
		<description><![CDATA[I wasted a lot of today setting up TortoiseGit on two PCs, one running Vista and the other running Windows 7,  to work with my private Git repository at GitHub. Here&#8217;s what finally worked: 1) I downloaded msysgit (Git-1.7.0.2-preview20100309.exe) from http://code.google.com/p/msysgit/downloads/list 2) &#8230; <a href="http://www.iansweeney.me.uk/2010/07/20/git-github-tortoisegit-windows-7-vista-msysgit/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I wasted a lot of today setting up TortoiseGit on two PCs, one running Vista and the other running Windows 7,  to work with my <span style="color: #ff0000;"><strong>private</strong> </span>Git repository at GitHub.</p>
<p>Here&#8217;s what finally worked:</p>
<p>1) I downloaded msysgit (<a href="http://code.google.com/p/msysgit/downloads/detail?name=Git-1.7.0.2-preview20100309.exe&amp;can=2&amp;q=">Git-1.7.0.2-preview20100309.exe</a>) from <a href="http://code.google.com/p/msysgit/downloads/list">http://code.google.com/p/msysgit/downloads/list</a></p>
<p>2) I installed the software and unchecked the option for Windows integration. I&#8217;ll be using TortoiseGit for the Windows integration and don&#8217;t want any conflicts from msysgit.</p>
<p>3) Selected the option for Git Bash only. Other options make unnecessary changes to windows environment.</p>
<p>4) Selected the option to Checkout Windows style, commit Unix style line-endings.</p>
<p>5) Accepted all other default settings. That&#8217;s all that is needed for msysgit, the Git for Windows software.</p>
<p>6) I downloaded TortoiseGit (<a href="http://www.iansweeney.me.uk/wp-admin/detail?name=TortoiseGit-1.5.2.0-32bit.msi&amp;can=2&amp;q=">TortoiseGit-1.5.2.0-32bit.msi</a>) from <a href="http://code.google.com/p/tortoisegit/downloads/list">http://code.google.com/p/tortoisegit/downloads/list</a></p>
<p>7) I installed the software and selected TortoisePLink and not OpenSSH. N.B. Since TortoiseGit 1.5.2.0 bundles TortoisePLink there is no need to download or install PuTTY separately as many web pages instruct. This was probably a necessary step for previous versions of TortoiseGit.</p>
<p> <img src='http://www.iansweeney.me.uk/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Accepted all other default settings. At completion of setup rebooted windows.</p>
<p>9) Ran PuttyGen, which is installed with TortoiseGit.</p>
<p>10) Clicked on Generate, moved mouse around in random pattern and saved both private and public SSH keys. Before saving you could enter a key passphrase. This is not necessary but is the optimal security option. I saved the private key as C:/users/<em>UserName</em>/.ssh/id_rsa  and the public key as C:/users/<em>UserName</em>/.ssh/id_rsa .pub which is consistent with how msysgit stores SSH keys.</p>
<p>11) Logged into GitHub and set the public key for my private repository to be the same as the public key generated by PuttyGen.</p>
<p>12) Started Windows Explorer and created a new folder/directory. Right click on that folder.</p>
<p>13) Left click on Git Create Repository here</p>
<p>14) Again right click on the created folder. Left click on TortoiseGit | Settings</p>
<p>15) Click on Git | Config and ensure email address match the email address setup in GitHub</p>
<p>16) Click on Git | Remote</p>
<p>17) Enter GitHib repository name in field Remote. e.g. If repository name is REPO then enter REPO. For next step I&#8217;m assuming a GitHub username of fred</p>
<p>18) <a href="mailto:git@github.com:fred/REPO.git">git@github.com:fred/REPO.git</a> (Replace fred and REPO as appropriate. Do not prefix URL with protocol &#8211; no http:// or ssh:// or https:// or git://)</p>
<p>19) For the PuTTY key field browse to the private key file that was earlier saved in PuttyGen.</p>
<p>20) Save changes. Hold down shift key and right click on folder. Left click on TortoiseGit | Pull.</p>
<p>21) Remote should be set to REPO (replace with your repository name).</p>
<p>22) Remote branch should be set to master (or the branch name you want to pull from GitHub). Ensure AutoLoad Putty Key is checked. Click OK and be genuinely surprised at how amazingly fast Git is now that we&#8217;ve done the hard work to get it set up. Pageant is also part of the TortoiseGit bundle. There is no need to start it manually. TortoiseGit starts it when necessary.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iansweeney.me.uk/2010/07/20/git-github-tortoisegit-windows-7-vista-msysgit/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Git or Subversion</title>
		<link>http://www.iansweeney.me.uk/2009/08/28/git-or-subversion/</link>
		<comments>http://www.iansweeney.me.uk/2009/08/28/git-or-subversion/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 10:58:25 +0000</pubDate>
		<dc:creator>Ian Sweeney</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://www.iansweeney.me.uk/?p=785</guid>
		<description><![CDATA[Is Git better than Subversion?]]></description>
			<content:encoded><![CDATA[<p>Is <a href="http://git-scm.com/">Git</a> better than <a href="http://subversion.tigris.org/">Subversion</a>?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iansweeney.me.uk/2009/08/28/git-or-subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

