Ian Sweeney | Personal Website

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’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) I installed the software and unchecked the option for Windows integration. I’ll be using TortoiseGit for the Windows integration and don’t want any conflicts from msysgit.

3) Selected the option for Git Bash only. Other options make unnecessary changes to windows environment.

4) Selected the option to Checkout Windows style, commit Unix style line-endings.

5) Accepted all other default settings. That’s all that is needed for msysgit, the Git for Windows software.

6) I downloaded TortoiseGit (TortoiseGit-1.5.2.0-32bit.msi) from http://code.google.com/p/tortoisegit/downloads/list

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.

8) Accepted all other default settings. At completion of setup rebooted windows.

9) Ran PuttyGen, which is installed with TortoiseGit.

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/UserName/.ssh/id_rsa  and the public key as C:/users/UserName/.ssh/id_rsa .pub which is consistent with how msysgit stores SSH keys.

11) Logged into GitHub and set the public key for my private repository to be the same as the public key generated by PuttyGen.

12) Started Windows Explorer and created a new folder/directory. Right click on that folder.

13) Left click on Git Create Repository here

14) Again right click on the created folder. Left click on TortoiseGit | Settings

15) Click on Git | Config and ensure email address match the email address setup in GitHub

16) Click on Git | Remote

17) Enter GitHib repository name in field Remote. e.g. If repository name is REPO then enter REPO. For next step I’m assuming a GitHub username of fred

18) git@github.com:fred/REPO.git (Replace fred and REPO as appropriate. Do not prefix URL with protocol – no http:// or ssh:// or https:// or git://)

19) For the PuTTY key field browse to the private key file that was earlier saved in PuttyGen.

20) Save changes. Hold down shift key and right click on folder. Left click on TortoiseGit | Pull.

21) Remote should be set to REPO (replace with your repository name).

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’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.

, , , , , Hide

Apr/10

6

An Evening With Tony Benn

Patrick, ex-lodger and friend, contacted me yesterday suggesting that we should go along to ‘An Evening With Tony Benn’ at Cadogan Hall as he had free tickets. I said yes, we went, and it was OK.

Afterwards we went for meal in a Portuguese restaurant in Vauxhall, which is where Patrick lives with his partner Martin, and which is only one tube stop away from Stockwell, where I have a house in London.

After the meal, about eleven thirty, we parted company; they went one way and I went another.

At 5:33 this morning Patrick sent me an email that said: “Martin and I were attacked by a gang of ~8 black kids just after saying goodbye to you – just by the playground.

Lost our two iPhones. Martin also lost house keys and wallet.

Both of us got kicked & punched in face/head/back. Martin’s face looks pretty nasty at the moment .. mine’s sore and bruised.

Anyway, just got home from Police & A&E so going to bed now!”.

No tags Hide

Nov/09

26

Banks

I’m not happy. On Tueday this week my solicitor told me that I could complete on my new home tomorrow, Friday 27th November. I’ve already spashed out on a hire car to take me and my worldly goods to Liverpool on the assumption that I move into my new home on Friday. I had £x set aside in my internet account and £y set aside in my offshore private bank account, but only a few days to get the funds transferred to the solicitor’s client account.

I went online on the Tuesday morning and tried to initiate an instant transfer. That was not possible as the internet account has a transfer limit of £10,000 per day. Instead I was asked to initiate the transfer by telephone. I phoned and went through all of the details. At the end of the call they told me that they would have to call me back on my Stockwell landline number to confirm the transfer. I’m in Stevenage I told them. Go to your local branch they told me. There is no branch in Stevenage I told them. Nothing I can do for you they told me. End of call. I went down to London and initiated the transfer from the branch in Victoria. However, the transfer would not go through until the following day, Wednesday, because it was after 11 o’clock by the time I got to the bank.

That same morning I’d emailed my account manager in the offshore bank asking him to start the transfer. I’ve not had any response from him yet! That afternoon I logged into their online service and sent an email to the bank admin people making the same request. Then I picked up the phone just to be on the safe side. I was told that the bank cannot accept my transfer intructions by email, phone, or fax because I’d not previously set up a mandate to do so. He promised to email me the relevant mandate forms. He sent an email with no forms attached. I replied asking again for the forms. Time passed. I phoned and was told that he’d gone for a long late lunch. By the time I’d received the email with the forms I’d missed the last post to send them back.

On the Wednesday morning, yesterday, I sent the mandates to the bank using the Post Office special delivery service which guarantees delivery by 9am the following day. The service cost £10.95

I called the bank at 10:30 this morning to check that they’d received my instructions and made the transfer because I know that the CHAPS deadline is 11am. They hadn’t received my letter.

I called the Post Office at 11 o’clock today and they confirmed that the letter has not yet been delivered. She cheerfully told me that is should be there by 9am tomorrow, and that if I call them after it has eventually been delivered then I will entitled to a refund of my £10.95

If the letter arrives tomorrow the CHAPS transfer will not get the funds into the solicitors’s client account before 2pm, possibly 4pm.

I won’t get they keys until the funds have been transferred from my solicitor’s account to the seller’s (solicitor’s?) account. If the funds are not in my solicitor’s client account on time then I won’t get the keys tomorrow.

No tags Hide

Nov/09

11

Windows

Laptop updated to Windows 7

No tags Hide

Nov/09

10

The Short List

Oct/09

24

Looking For A New Home

Should I buy one of these:

FindAProperty L1 6AA

Fish4Homes L1 6AA

PropertyFinder L1

RightMove L1 6AA

I’m after 2 bedrooms, less than £110,000, near to L1 6AA

No tags Hide

Aug/09

29

Doctrine

I managed to install Doctrine using the svn:externals technique in Eclipse/Subclipse (SVN).

, , , Hide

Aug/09

28

Git or Subversion

Is Git better than Subversion?

, Hide

Aug/09

28

Propel

I have not been successful in getting Propel to work on my system. The problem may have something to do with phing. I gave up and decided to focus on Doctrine instead.

, , Hide

Aug/09

28

Object-relational mapping (ORM)

I think that using an ORM might speed up some of the PHP development I am involved in. The two main contenders are Doctrine and Propel.

, , , Hide

« Previous Entries

Next Page »

Find it!

Theme Design by devolux.org