I'm working on a project which uses git-flow, where feature branches have been left dangling. I want to clean things up but I'm not very familiar with git-flow in practice.
I used Tower's git-flow "finish feature" on that branch, then noticed that my working directory now contains code that has been superseded a while ago.
In hindsight, I guess I should have rebased the code on the feature branch to use the latest develop
branch available, which I thought git-flow did automatically.
How do I clean this mess (i.e. return my working directory to the latest status of the develop
branch) and how do I merge old feature branches without reverting code?
Thanks!