For posterity, here's a small Git post-receive script to update a checkout when a bare repository receives a push.
Post tagged: git
The other night, I sat down with Git to solve what turned out to be a very simple problem: what if you've started making commits to your master branch, but want to move your work into a feature branch?
Git supports a merge strategy called the subtree merge which brings a branch into a subdirectory of another branch. How are these created, what if the dependency isn't a Git project, and how does GitHub display unrelated branches?
Maybe my Google-fu is just failing me on this one, but I had a hell of a time getting gitweb to run in FastCGI mode.