Easier Way to Update a Feature Branch

Last time I created a post to update a feature branch from develop. It was all good until I realize that there is an easier way to do it. So much easier than what I did before. Feel dumb to found about this.

So this is the thing that we need to do. Instead of checkout to develop first. We can just pull origin from develop and merge directly after that.

On your current feature branch

git pull origin develop
git merge develop

No need to create complicated script to do it.

1 comment

Leave a comment

Your email address will not be published. Required fields are marked *