Git/Tips

A list of Git tips and tricks

Dealing with old branches
If you've been working with git for a while you probably have a bunch of old crufty branches laying around that you don't need anymore. The ones you definitely don't need anymore are ones that have already been merged back to master. You can identify these with:

Similarly, when submitting a change for review, you can have your branch automatically deleted once it's been merged by Gerrit:

View source code

 * View "core" source code