git tags

Fork off with your branches

The nice thing about git is that branches are cheap and you can create many and varied branches for every little fix, format or feature. The annoying thing about GitHub is that every user creates many many many branches. One of my pet peeves at the moment is a large number of branches on our upstream repository. That …

On gitversioning subdirectories

We have lots of NuGet. Every time we build, we publish a new version. but every build does not change the source code of the code in that version. wouldn’t it be nice if we could detect that the subdirectory hasn’t changed and so has the same version it did last time we built it? We use gitversion, so we …

Code Camp Christchurch - An Introduction to git

I presented today at Code Camp Christchurch on git. I will try and translate some of the topics into new tutorial posts over the coming weeks, but you can find a rough transcript of the content from my presentation in my post git is not scary. I refered to some links in my talk, and wanted to make them available here. …

Git is not scary

It may not be simple, it may not be easy, but git is not scary. Now, I’ve been using git for less than a year now, professionally. I had dabbled in git personal projects for the year before that. My primary Source control had mostly been TFS (Team Foundation Server), and I had been exposed to subversion on a …

git lol

I saw Scott Chacon use git lol on an introduction to git video, and thought it looked like a neat alias idea. I did some searching and came across this blog post by Franz Bettag, in which he creates an alias for git log called git lol. I’m not sure if he came up with it, but it looks like Scott Chacon is the …

Aliasing your 'git status'

Anyone else have the bad habit of typing in git statsu or git stauts? Or maybe you just end up typing git status all the time at the command line, and wonder if there was a better way. Well, there is. Aliases Most command-line shells have the concept of aliasing. This means you type one thing, and it represents an …

TeamCity, GitHub and Pull Requests

I’ve been having fun setting up TeamCity builds, specifically trying to run a static analysis build that shows it’s results on a pull request. This lead me to discover some issues with the built-in TeamCity support. It is really easy to set up a build task that runs PowerShell as its build step. With this I …

Git Housekeeping

Those who are using Git but still new to the concept will no doubt have realised that files are treated differently to normal source control tools, and that they transition between different known states, according to git. I am going to try and explain these states, and give commands on how to transition between them. …