Rough guide on manually setting up Git on Windows

  • October 6, 2013
  • James Skemp
For both machines I'm doing this on (running Windows 7 and Windows 8) I had already installed Github for Windows. However, since I've been converted to posh-git, I wanted to do an install that would get me away from continuing to use it. The below is roughly what I did, and may not be completely correct. Install the latest version of msysgit (currently 1.8.4). Set execution policy (run as administrator).Set-ExecutionPolicy RemoteSigned Install posh-git(new-object Net.

Read More

Git/posh-git commands

  • September 25, 2013
  • James Skemp
This is a rough list, in no particular order (yet), but here's the commands I've found useful after being converted to posh-git after my Google+ post. git add -u Add all changes (including deletions) git rm <file> Stage file deletion. git commit -m "Message" Commit with Message. git push Push to GitHub git status See what has changed/etcetera git pull Pull from GitHub git add <tab> <tab> Add multiple files, space delimited git diff <file> Difference.

Read More

Brief thoughts after 1 month of GitHub

  • March 1, 2013
  • James Skemp
I've been using GitHub for a little more than a month now, and it's been about 2 weeks since I shut down the machine running my local Subversion instance. GitHub for Windows needs some work, but given that Phil Haack is/was working on the Windows aspect, I feel pretty confident that it'll continue to get better. Moving to a system that allows for public repositories also allowed me to publish some really old code, that might be of benefit to someone.

Read More

Converting from Subversion to Git on Windows

  • February 9, 2013
  • James Skemp
With the news that Visual Studio 2012 will support Git out-of-the-box, and me deciding to stop storing my repositories locally, I decided to switch to Git this weekend. They say the best way to do this is via svn2git, which unfortunately uses Ruby. Since I'm on Windows, and haven't done Ruby development, I needed to download Ruby using RubyInstaller for Windows. Next I needed to have RubyGems support, which meant downloading from RubyForge.

Read More