Gitting Started

I wanted to put all of Panzer General Portable on GitHub. I started with putting Git on my machine:

Not knowing anything about Git, I opened up Panzer General Portable and in Solution Explorer, clicked on “New Git Repository”. Suddenly, I have all these yellow plus signs next to the objects in Solution explorer:

I the famous words of Tommy Boy “whadyado?”

I then hoped over to Github, set up an account, and followed the instructions to install Git itself:

Following the directions, I created a private key.

However, when I went to upload it to github, I ran into this little problem on my local file system:

The .pub extension is used by Microsoft publisher.

Doh!

I then opened with notepad – but didn’t change the file association….

Following the rest of the directions on GitHub, I created a Panzer General Repository:

And I also added .xap to extensions that are not sourced:

I then made a change in Visual Studio:

and opened Git-Pending Changes

Sure enough, the changes took. However, I am missing the critical piece – I still can’t push my changes from the local Git Repro to the GitHub one. I went back to the directions for VS and the directions for Git and looking at the screen shots, they assume that you have Git Extensions already installed. Oooohhhh, back to Extension Manager:

I then installed (and picked check boxes with impunity):

I then could then get all of the GitHub commands in VS2010 (Push, Pull, etc…):

I then tried to push my local Repro to GitHib and I got the following message:

I then loaded the SSH Key (making sure that I used the key generator from the existing Key from GitHub setup):