Turns out that one should build before one commits.