Android Studio and Git Branches – How to Simplify Your Work

Łukasz KopocińskiAndroid Developer

Are you irritated of having too many branches in your repo? This article explains how to work in a thicket of branches and how to cut them down in one shot.

The story

The typical scenario of daily work with Git Flow looks like this: we create a feature branch, work on it and, once the branch is merged, we leave it and we go to the next task. We simply forget or don’t care to remove these development branches from our local repository and we finally find ourselves in a situation with a whole bunch of unnecessary branches in our repo.

We could leave it like that but it is useless to keep a few-month-old branch if it has been merged or is no longer relevant. What’s more, it can impede our work.

NEED A SUCCESSFUL TEAM?

We’re 100% office based team with 7-years’ experience in mobile & web app development