Gitting Started

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

image

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:

image

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:

image

Following the directions, I created a private key.

image

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

image

The .pub extension is used by Microsoft publisher.

image

Doh!

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

image

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

image

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

image

I then made a change in Visual Studio:

image

and opened Git-Pending Changes

image

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:

image

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

image

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

image

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

image

 

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

image

And what do you know, the project is now on Github: https://github.com/jamessdixon/PanzerGeneralPortable

Advertisements

One Response to Gitting Started

  1. Rob Seder says:

    Nice – thanks for posting this!!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: