Git

A portable and magic-free way to open Pull Requests from the Command Line

This little bash snippet will let you open a GitHub or GitLab pull request from the command line on most Unix-like systems (OSX, Ubuntu, etc), without using any magic libraries, ZSH tricks or other dependencies. tl;dr download the gpr.sh gist. Here’s how it looks in action OSX: And Ubuntu: The script is available as the gpr.sh gist. You can also find it in my dotfiles, in the git.sh file. The Script Here’s the script in its entirety:
Read more

Better Specifications

Specifications are absolutely key to the success of a project. Unless you have a good definition of what your project is supposed to be, there’s no way you can deliver it. A specification is the contract between you and the client, the basis for technical designs, quality assurance test plans, operational readiness, and much more. I’m not going to talk about how different teams do specs, what works and what doesn’t work.
Read more

Recursive read lock acquisitions not allowed in this mode

If you are using the following combination of tools: Visual Studio 2012 Visual Studio Tools for Git Nuget Then you may encounter some weird problems when trying to update Nuget packages. For me, updates regularly fail with: Recursive read lock acquisitions not allowed in this mode. I’m lost on the root cause of this, but it does seem that the project I’m working on has files set to read-only by something regularly, perhaps Visual Studio is trying to make Git more TFS-y by locking things all over the place.
Read more