Improve MySQL Performance
Drupal 7 defaults to InnoDB now out of the box. This has many advantages, including being much more stable if your server crashes and support for transactions. However, out of the box, InnoDB (and MySQL in general) can be very slow.
Adding something to the last git commit
It often happens that you commit some changes and instantly see that you forgot to add a new file, wanted to add a line to the changelog, or just noticed a typo in a comment that you'd like to have in the same commit. Or another use case is when working on contrib issue and want to create a format-patch patch so that you are automatically credited as the author but want to avoid having multiple commits in the patch.
Upstream handling in Git
The default location (usually a branch on a remote) for pushing and pulling is called upstream in Git. There are multiple ways to specify the upstream. This tutorial explains three of them.
Change Group ownership of a project in Gitorious
Once a project has been assigned to a group, that selection can not be reverted or changed. The only way to do it is with a manual query.
Interactive Rebasing with Git
Interactive rebasing allows to quickly delete commits, merge multiple commits together or rename commit messages.
Typical performance bottlenecks patterns
There are a number of typical scenarios which slow down a site. This tutorial attempts to explain a few and provide tipps to fight them.
Finding performance bottlenecks with xhprof
There are many possible causes for a slow site. Instead of poking around blindly, it is recommend to do some performance profiling.
Partial checkout with git checkout -p
When I work on fixing bugs or adding new features I often add debug statements all over the place to debug something and find out where it goes wrong. Before I can then create a patch or commit the changes, I need to clean up the working tree first. Although a git diff can already help a lot, it's still tedious work to open the different files, look for debug statements and remove them. Luckily, git can do much more than just point out where the changes are.
Git is an awesome tool for version control. It is, however, not always very easy to use due to complicated or inconsistently named commands and arguments. One way to solve that problem is to set up a few aliases. In this tutorial, I'm going to explain how to do that and also show a few useful aliases that I use regularly.