Rickless
Rickless

Reputation: 1455

Should I delete the development branch after merging it back into the master in gitflow?

I have a feature branch feature/doX
And development branch development and master branch, master.
After finishing the implementation of the feature doX. I created a pull request from the feature branch into the development branch. My collegues reviewed the pull request, and did the merge. After implementing many features, we did a pull request from the development branch into the master branch to prepare for our release build.
My question is: Should I delete the development branch after merging it back into the master branch and create new one for the next release features?

Upvotes: 1

Views: 363

Answers (1)

Philippe
Philippe

Reputation: 31227

No, there is no need to delete a branch that you still want to use after merging it (even if the merge is done with a pull request)

Upvotes: 2

Related Questions